Enterprise Java Beans (EJB) Interview Questions and Answers

Enterprise Java Beans (EJB) Interview Questions and Answers

Enterprise JavaBeans (EJB) is one of several Java APIs for modular construction of enterprise software. EJB is a server-side software component that encapsulates business logic of an application. An EJB web container provides a runtime environment for web related software components, including computer security, Java servlet lifecycle management, transaction processing, and other web services. The EJB specification is a subset of the Java EE specification.(Source: Wikipedia)

What is EJB?

What are the types of Enterprise bean?

What is Session Bean?

What is Stateless Session Bean?

What is Stateful Session Bean?

What is Singleton Session Bean?

What is Entity Bean?

What is BMP?

What is CMP?

What is Message Driven Bean?

What is J2EE?

What is JMS?

What is Ripple Effect?

What is Transaction? And explain ACID Properties?

What are the contents of Container contains?


What is EJBQL?

What is EJB server?

What is Clone?

What is interceptor method?

What is PTP model?

What is Context?

What is Initial Context?

What is Session Context?

What is EJB client JAR file?

What are the attributes of javax.ejb.EJB.

What are the Declarative Transaction types?

How does EJB invocation take place?

What are the steps for the demonstration of EJP persistence mechanism?

What is hot deployment?

Explain EJB Architecture?

What is difference between EJB and Java beans?