What types of EJBs are supported by Pramati Server?
The different types of EJBs supported by the Server are:
- Session beans: Session beans are a set of objects that together implement the business logic of an application. There are two types of Session beans that are defined by their use in a client interaction:
- Stateless session beans: These beans do not declare any class-level variables so that the methods contained within can only act upon local parameters.
- Stateful session beans: These beans can hold client state across method invocations. This is possible with the use of instance variables declared in the class definition. The client then sets the values for these variables and uses these values in other method calls.
- Entity beans: Entity beans represent the persistent data in an EJB application. These are objects and can be designed using object-oriented principles and utilized in applications as objects. These provide all the benefits of relational technologies, including maturity of products, speed, reliability, ability to recover, and ease of querying. In a typical EJB scenario, the methods of an entity bean are called by a session bean to access data.
- Message-driven beans: Message-driven beans are used for the special purpose of receiving asynchronous messages from other systems.