1.

Explain javax.ejb.Stateful annotation.

Answer»

javax.ejb.Stateful annotation specifies that a given ejb class is a stateful session bean.Following are its attributes:

  • name - Used to specify name of the session bean.

  • mappedName - Used to specify the JNDI name of the session bean.

  • description - Used to provide description of the session bean.



Discussion

No Comment Found