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 ...
Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.