EJB Lite
EJB Lite is coming from the fact that- most of the ejb applications simply use features like persistence management, declarative transaction, stateless session beans etc.
EJB Lite will allow simple , lightweight implementations. This will also reduce the learning curve required (It might be just learning a handful of annotations). Very soon there may be Java EE application servers which implement EJB Lite instead of the complete Ejb3.1 spec.
Some of the features in the EJB Lite are
- Stateless, State full, Singleton session beans
- Interceptors
- Declarative Security
- Declarative Transactions etc
EJB Lite does not have the following features
- Message driven beans
- Remote interfaces
- Asynchronous invocation
- Corba interoperability etc.
Read about Java EE6 profiles here http://weblogs.java.net/blog/robc/archive/2008/02/profiles_in_the_1.html.
Managed Beans 1.0
This is simply a POJO which is treated as a managed component by the container.
It can make use of some of the predefined Java EE features like lifecycle management and injection.
- @Resource
- @PostConstruct
- @PreDestroy etc
More Later...
No comments:
Post a Comment