Re: New features of EJB 2.0/2.1 and diff between 1.1 and 2.0
Thursday, April 1, 2004 10:26 PM
The changes and additional services in J2EE 1.4, and therefore the EJB 2.1 specification, primarily focus on Web services. The major new goals and capabilities for EJB 2.1 are:
Support for Web services. A new interface for Web services endpoints has been added, allowing stateless session bean implementations. All beans can access external Web services.
A container-managed timer service. The service "provides a coarse-grained, transactional time-based event notifications" (sic).
Generalized architecture for message-driven beans. MDBs can access various messaging types in addition to JMS messages.
Enhanced EJB Query Language. EJB QL now has support for various aggregate and scalar functions, and results may be ordered.