EJB Session Bean: What is Session Bean?

What is Session Bean?

- Session beans are used to shield the client from the complexity of the business logic.

- They provide access to special transient business services.

- They are created by the client submitting the query to the database and exist as long as the client server session exists.

- Session bean components implement the javax.ejb.SessionBean interface.

- Client invokes the methods on the session beans to access the application in the server.

EJB Stateful Session bean: What is a Stateful Session bean?
EJB Stateful Session bean - Between the client and the session bean, the state of the conversation can be maintained...
EJB stateless session bean: What is stateless session bean?
EJB stateless session bean - A stateless session bean is an enterprise bean that does not maintain conversational state specific to a client session..
EJB-methods-Entity-Bean.aspx
EJB Create Methods - The create() method is used to insert data into the database by creating a new instance of CMP entity bean...
Post your comment