Subscribe to javaquestions
 

EJB Interview Questions

Servlets JSP Questions

1. When we can do transaction management and persistence management using JSP, servlets using JDBC why do we require EJB?

2. Since we don't implement the remote interface in our EJB bean, what happens if we dont implement any of the methods from the interface?

3. How can we force the EJB bean to implement all the methods of the remote interface at compile time itself?

4. Explain the packaging structure of an EJB application?

5. What are the different containers available in a typical J2EE application server?



6. What are POJOs(Plain Old Java Objects)? Where do we use them

7. Given a scenario where we need to write the application from UI(JSPs to EJBs including Entity beans), give a detailed Work flow as to how will you design the application?

8. Give some parameters to choose between a Stateless session bean EJB to a Stateful Session Bean EJB?

9. Give some parameters to choose between session beansand Entity Bean?

10. Give some parameters to choose between a BMP bean to a CMP Bean?

Email your feedback to Girish



Disclaimers: No claims are made about the accuracy of any of the document presented in this site and no responsibility is taken for any errors. All the links provided in this site are individual compilation, however no claims are made about the accuracy and authenticity of the respective contents.