Home / Java Techs

Java Techs

Java Technologies such as J2EE, JEE,…

Combine two lists in Groovy

addAll

Combination or concatenation of two or multiple lists are believed to appear quite frequently in programming. This article aims to show you how to union two lists in Groovy in different ways. Combine lists with addAll The [crayon-597526d5523d2279012886-i/]  method appends all ...

Read More »

Java Books and References

javalearningresources

This text will introduce useful learning resources for someones who want to learn Java programming language. Because resources are continuously updated, this writing is too keep up. Official Java Documentation Oracle, the company owning Java, provides qualified Java Tutorials. The ...

Read More »

HashMap class in Java

The Map Hierarchy

This text aims to introduce HashMap and how to use it in Java programs. In the series of Map involved articles, HaspMap is implemented from Map interface and inherited from AbstractMap class (as shown in Fig. 1). HashMap works on ...

Read More »

Simple steps to log messages in Java programs using Log4j

log4

This article explains a bit of the importance of application logging and log4j API in Java. The following paragraphs will give you an overview of how logging mechanism works in Java application and how use one of the common logging ...

Read More »

Unveil magic of hibernate lazy loading

SQL logging in hibernate

Recently we have discussed about the performance of retrieving collections/relations/associations inside objects. By the way, we also review the machinery that hibernate handles these relational concepts to improve the effectiveness of database operations. One of the techniques being implemented in ...

Read More »

How to create an Executable Jar File

How to create an executable jar file

In Java programming, it is common to combine several classes in one .jar (“java archive”) file.  Library classes are released in this fashion which these classes are packed into a single jar file so that it can be used flexible ...

Read More »

How to run JAR packaged applications

java -cp YourApp.jar YourClass

A few questions can be questioned when someone wants to learn Java programming. For example, how is its independent on working environment? How can we create a standalone program? How to run a Java program? etc. This post will answer ...

Read More »

What’s New in JDK 8

Java Oracle 8

Java Platform, Standard Edition 8 is a major feature release. This document summarizes features and enhancements in Java SE 8 and in JDK 8, Oracle’s implementation of Java SE 8. Click the component name for a more detailed description of ...

Read More »

Architect Enterprise Applications with Java EE

Tự nhiên hôm nay lại nhớ đến khóa học về lập trình ứng dụng máy chủ và phân tán thời còn học thạc sĩ ở PUF. Hồi đó, lập trình java cũng không đến nổi tệ. Lâu lắm rồi không ...

Read More »

Can we modify class definition dynamically in Java?

  http://www.coderanch.com/t/516577/java/java/we-modify-class-definition-dynamicallly

Read More »