Welcome,  Guest  |  Sign In |  New User? 

List of EJB Interview Questions & Answers

Page 1 of 6: 1 2 3 4 5 6 Next>>

why BMP class returns null & why CMP implementation class reurns instanceof PK class?         [ 31 ]

"Answer not available"

where are databese maneged by Entity bean is implemented & how many instance of the Entity bean         [ 20 ]

"Answer not available"

what do you mean by CMP & BMP & what is basic difference between them?         [ 24 ]

"Answer not available"

what do you mean by shared transactional state data maintained by EJB?         [ 23 ]

"Answer not available"

How EjbQL ara impemented when it is necessary?         [ 26 ]

"Answer not available"

What is EJB?         [ 23 ]


Enterprise JavaBeans (EJB) technology is the server-side component architecture for the Java 2 Platform, Enterprise Edition (J2EE) platform. EJB technology enables rapid and simplified development of distributed, transactional, secure and portable applications based on Java technology.


Choose your rating:    Post Ans.    View More Ans.

What are the different type of Enterprise JavaBeans ?         [ 18 ]

There are 3 types of enterprise beans, namely: Session bean, Entity beans and Message driven beans.

Choose your rating:    Post Ans.    View More Ans.

What is Session Bean ?         [ 16 ]


Session bean represents a single client inside the J2EE server. To access the application deployed in the server the client invokes methods on the session bean. The session bean performs the task shielding the client from the complexity of the business logic.

Choose your rating:    Post Ans.    View More Ans.

What are different types of session bean ?         [ 17 ]

There are two types of session beans, namely: Stateful and Stateless.

Choose your rating:    Post Ans.    View More Ans.

What is a Stateful Session bean?         [ 36 ]

Stateful session bean maintain the state of the conversation between the client and itself. When the client invokes a method on the bean the instance variables of the bean may contain a state but only for the duration of the invocation.

A stateful session bean is an enterprise bean (EJB component) that acts as a server-side extension of the client that uses it. The stateful session bean is created by a client and will work for only that client until the client connection is dropped or the bean is explicitly removed. The stateful session bean is EJB component that implements the javax.ejb.SessionBean interface and is deployed with the declarative attribute "stateful". Stateful session beans are called "stateful" because they maintain a conversational state with the client. In other words, they have state or instance fields that can be initialized and changed by the client with each method invocation. The bean can use the conversational state as it process business methods invoked by the client.

Choose your rating:    Post Ans.    View More Ans.

Page 1 of 6: 1 2 3 4 5 6 Next>>