What are the components of Session Beam?

devquora
devquora

Posted On: Feb 22, 2018

 

Two components:

  1. Stateless session bean: It remains for a very short period of time. It is used when there is no need of worry of the state of the specific client. Validation of the credit card is a good example of the Stateless session beam.
  2. Stateful session beam: It has the unique feature which is absent in other beams that it can be implemented in the web whiles other cannot. It is used to maintain the conversation between the client. It saves the instance of conversation in the area like the hard disk before its proceeding into a passive state. Whenever the same client sends a request instance to come back to its original place (main memory). Online transaction, Online reservations are some examples of the Stateful session bean.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    EJB Interview Questions

    What is EJB?

    EJB stands for Enterprise java bean is a server-side software that is used to construct the module of enterprise software...

    EJB Interview Questions

    What are the various types of Entrepreneur java bean?

    Entity Bean: The object that is planned with the database is referred to an entity bean. It is used to execute..

    EJB Interview Questions

    What are the various types of Entity beam?

    CMP Entity bean: It is defined as Container Managed Persistence. It is the complex type of bean and very effective for the develope..