JEE Q&A

 The J2EE (i.e. enterprise Java or JEE) Interview questions and answers listed below are very common and frequently asked in Java Job Interviews.(Click on the headings highlighted in yellow.)

Enterprise Java Interview Questions and Answers on:


Enterprise Java Overview


Explain 3-tier or n-tier architecture used by JEE? This is a very commonly asked question. Be prepared to draw some diagrams on the board. The JEE platform is a multi-tiered system. A tier is a logical or functional partitioning of a system.


Servlet Interview Q&A


How do you get your servlet to stop timing out on a really long database query?,What is the difference between forwarding a request and redirecting a request? How do you perform I/O operations in a Servlet/JSP?


JSP Interview Q&A

How does JSP differ from a desk top application?, Did JSPs make servlets obsolete?, What is a model 0 pattern (i.e. model-less pattern) and why is it not recommended? What is a model-2 or MVC architecture?, etc.


JSF Interview Q&A

If you are using JSF, what other frameworks would you require and why?, In your experience, what are some of the JSF pitfalls to watch out for?, How would you go about debugging a JSF application?, etc.


Hibernate Interview Q&A

How will you configure Hibernate?, What is a Session? Can you share a session object between different threads?, Explain hibernate object states? Explain hibernate objects life cycle?, etc


Spring Interview Q&A

What do you understand by the terms Dependency Inversion Principle (DIP), Dependency Injection (DI) and Inversion of Control (IoC) container?, etc.


SQL Interview Q&A

Explain inner and outer SQL joins?,In your experience, what are some of the common mistakes developers make?, etc.


Java Web Services Interview Q&A

What are the different integration styles? What are the differences between SOAP WS and RESTFul Web Service? Which one would you choose? Why would you favor Web Services over RMI/CORBA/DCOM, etc?


Core & Enterprise Java Interview Questions

These are some core and enterprise Java (i.e. J2EE) interview questions with hints. What is the performance impact of testing against NULL in WHERE clause in Oracle?, What is the difference between sql.Date, sql.Time, and sql.Timestamp?, What is an LDAP server used for in an enterprise environment? etc.