In a posting on Meeraj Kunnumpurath's weblog , I read that the Java Servlet specification 2.5 (still in maintaince version) will have the ability to inject dependencies to classes whose lifecycle are maintained by the container. This means that you can just inject and use resources, like EJBs and DataSources, in the same way as you can do now in the EJB3.o specification (still in beta-version).
Currently, I'm experimenting with Oracle's EJB3.o implemention and I have to say my first impressions are quite hopefull. Especially the simple way of using resources in an EJB, like an EntityManager or another EJB, is a feature I really like as a J2ee developer. I think dependency Injection, and IoC in general, is really a great feature that increases the flexibillity and development speed of a Web Application Framework (WAF)..For example look at how popular Spring is these days...
Subscribe to:
Post Comments (Atom)
1 comment:
This post is interesting and i like most is the simple way of using resources in an EJB, like an EntityManager or another EJB, is a nice feature.
sap upgrade ecc 6.0
Post a Comment