Hibernate Interview Questions What does hibernate.properties file consist of? This is a property file that should be placed in application class path. So when the Configuration object is created, hibernate is first initialized. At this moment the application will automatically …
Read more »
Hibernate Interview Questions What is a hibernate xml mapping document and how does it look like? In order to make most of the things work in hibernate, usually the information is provided in an xml document. This document is called as …
Read more »
Hibernate Interview Questions What is Hibernate? Hibernate is a powerful, high performance object/relational persistence and query service. This lets the users to develop persistent classes following object-oriented principles such as association, inheritance, polymorphism, composition, and collections. What is ORM? ORM stands …
Read more »
How can we create a Servelt? A Servlet can be created by extending the httpServlet or GenericServlet classes. Explaing what you mean by servlets? Servlets are server side components that provide a powerful mechanism for developing server side programs. Servlets …
Read more »
Java Interview Questions What does a default member mean? A default member is one that does not have any of the modifiers like public, protected or private. If a class contains more than one or more final methods must the …
Read more »
Java Interview Questions What are the important principles of object oriented concepts? The three important OO principles are Encapsulation, Inheritance and polymorphism. Explain the principle of encapsulation? Encapsulation is a process of binding or wrapping the data and the codes …
Read more »
Java Interview Questions What is the name of the class that is super class for every class? Object Is it possible to extend the java.lang.String class? No. java.lang.String is declared as final. Class declared as final cannot be used as …
Read more »
J2EE Interview Questions I have received the following error message: java.lang.RuntimeException: Unable to create ORB. Possible causes include TCP/IP ports in use by another process at . What does this signify? The error message may mean you have a port conflict. …
Read more »
What is difference between Java Bean and Enterprise Java Bean? Java Bean as is a plain java class with member variables and getter setter methods. Java Beans are defined under JavaBeans specification as Java-Based software component model which includes the …
Read more »
J2EE interview questions and answerS
Read more »
J2EE Interview Questions What is the relationship of the Apache Tomcat opensource application server to the J2EE reference implementation? Tomcat is based on the original reference implementation of the JavaServer Pages (JSP) and Java Servlet specifications, which was donated by Sun to the …
Read more »
J2EE Interview Questions What is the Java 2 Platform, Enterprise Edition (J2EE)? Java 2 Platform, Enterprise Edition (J2EE) is a set of coordinated specifications and practices that together enable solutions for developing, deploying, and managing multitier servercentric applications. Building on the Java 2 Platform, …
Read more »
J2EE Interview Questions What is connection pooling? Why is it used? What should you do with a connection once you are done using it? Connection pooling is the maintenance of a group of database connections for reuse by applications on …
Read more »
What is the difference between an interface and an abstract class? An abstract class can have instance methods that implement a default behavior. An interface can only declare constants and instance methods, but cannot implement default behavior. An class is …
Read more »