1 | Process component : the component has a persistent state which is not directly visible to the client unless the component provides other methods to expose it. Since it has a persistent state, it also has a persistent identity. This component type is suitable for representing business process such as creating an order. Process component can implement the Stateful SessionBeans when its behavior is non-transactional. |
2 | Entity components : This component has a persistent state and its behavior may be transactional. The identity of the component is visible to its clients through primary key so that the persistent state is made visible to clients. This component can implement the EntityBean in EJB. |