Enterprise JavaBeans
An Enterprise JavaBean is a special kind of JavaBean made for performing server-side business logic operations. When you create a regular JavaBean, you only need to create get/set methods for each property you want to define, maybe add some public methods and define addXXXListener and removeXXXListener methods to define any events. You might also want to create a BeanInfo object to describe your bean.
There are three kinds of Enterprise JavaBeans:
A session bean, which represents a conversation between a client and a server. There is usually one session bean per client and the session beans aren't persistent data objects—you don't store a session in the database.
An entity bean, which represents a persistent data object. Although ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access