The Enterprise JavaBeans architecture defines two types of enterprise bean objects:
EJB.4.3.1 Session ObjectsA typical session object has the following characteristics:
A typical EJB container provides a scalable runtime environment to execute a large number of session objects concurrently. Session beans are intended to be stateful. The EJB specification also defines a stateless session bean as a special case of a session bean. There are minor differences in the API between stateful (normal) session beans and stateless session beans. EJB.4.3.2 Entity ObjectsA typical entity object has the following characteristics:
A typical EJB container and server provide a scalable runtime environment for a large number of concurrently active entity objects. |