@Qualifier annotation in spring

This annotation is used along with the @Autowired annotation. If more than one bean of the same type is available in the container, the framework will throw NoUniqueBeanDefinitionException, indicating that more than one bean is available for autowiring.

Hibernate Second-Level Cache

second-level cache is SessionFactory-scoped, meaning it is shared by all sessions created with the same session factory. When an entity instance is looked up by its id (either by application logic or by Hibernate internally, e.g. when it loads associations to that entity from other entities), and if second-level caching is enabled for that entity.

Different ways to create an object in Java?

What are all the different ways to create an object in Java is very tricky question. Number of times programmer fail to give the ans but its so easy. Every programmer used 4 basic way to create the objects.

ConcurrentHashMap vs SynchronizedMap

What is the difference between ConcurrentHashMap and SynchronizedMap. ConcurrentHashMap and SynchronizedMap provide the three safety in java.

Overload static methods in Java

Overload static methods in Java,Yes, you can overload a static method in Java. Java Method Overloading is one of the features in the OOPs concept which allows you to have two or more methods with the same method name with the difference in the parameters, in other words, we can also call this phenomenon as Compile time polymorphism.

Java ConcurrentHashMap

ConcurrentHashMap is a class introduced in Java 1.5 Version which implements the ConcurrentMap interface. The ConcurrentHashMap is simply a concurrent version of the HashMap, the functionality is also similar to that of a HashMap except for the internal concurrency

PreJava

www.prejava.com is the leading independent source for technology programmers and enterprise managers who require more information about programming language and related technologies. PreJava provides easy learning of various tutorials such as Core Java, Java Programs, Minor or Major Projects to college student. Our main objective to provide simple and easy details to our users. Here we focusing to provide the easy to understand material of java language. which can be very much helpful for java beginners and professionals. All Examples & Programs given here are as simple as possible to help beginners.