Characteristics of Session Beans

Session beans typically have the following characteristics:

  • Represent a conversation between client and server.

  • Execute on behalf of single client. They cannot be shared by more than one client at the same time. Also, they cannot be called by the same client using multiple threads.

  • Can be both transaction-aware and use security.

  • Do not directly represent data in a database. However, they can access and update data on behalf of the client.

  • Are relatively short-lived. They are removed when the client removes them, or when the EJB container shuts down or crashes.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.247.53