What is the procedure for the creation of stateless EJB?

devquora
devquora

Posted On: Feb 22, 2018

 

Creation of stateless EJB is done in simple steps:

  • First of all, you need to build a local interface
  • When it is done, the client application has to be used this interface.
  • And then, it needs to recognize the environment of the EJB. If the environment is same then use @Local annotation and if it different then use @Remote annotation
  • After that build a stateful session bean.
  • At last use @Stateful annotation to imply a stateful 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..