1 | Component types are service, session, process and entity. |
2 | Service components : the lifetime of the service component is limited to the lifetime of the method invocation therefore it has no state and identity. |
3 | Session component : the life span of the session component described in the servant-lifetime description. These components has transient state living through the lifetime of the client interaction and non-persistent identity. This matches with SessionBean in EJB. Stateless Session Beans is a Session component with method servant lifetime policy and Stateful Session Beans is a Session component with transaction or container servant lifetime policy. |