Enterprise Java Interview Questions and Answers on:
Enterprise Java OverviewExplain 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&AHow 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&AHow 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&AIf 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&AHow 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&AWhat do you understand by the terms Dependency Inversion Principle (DIP), Dependency Injection (DI) and Inversion of Control (IoC) container?, etc. | |
SQL Interview Q&AExplain inner and outer SQL joins?,In your experience, what are some of the common mistakes developers make?, etc. | |
Java Web Services Interview Q&AWhat 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 QuestionsThese 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. |