Home > Articles > Programming > Java

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

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.

  • + Share This
  • 🔖 Save To Your Account