Marker Interface in java is an interface with no fields or methods. It is used to instruct to the JVM for specific task or special behavior for those classes whose implementing marker interface. Marker interface …
Java is pass by value and not pass by reference i.e. Java copies and passes the reference by value, not the object. Thus, method manipulation will alter the objects, since the references point to the …
In hibernate session there are two methods for retrieving object from database one is get() and other load() method. These two methods have been used in the different situations but both are from Session interface …
As we know that update() and merge() methods in hibernate are used to convert the object which is in detached state into persistence state. But there are different situation where we should be used update() …
Difference between ServletConfig and ServletContext in Java Servlet is popular question in java interview. Let see following are differences. No. of web applications = That many number of ServletContext objects No. of servlet classes = …
Whenever we are using ORM like Hibernate, there are two from many others methods save() and persist() using to save object to database. But these two methods have the differences in functionality. And also difference …
In this Spring Mobile tutorial we will discuss about how to spring work into web environment to detecting device. Table of Contents Introduction Maven Dependency Device Module Device Resolution Classes DeviceResolver Device DeviceResolverHandlerInterceptor DeviceResolverRequestFilter DeviceHandlerMethodArgumentResolver …