Does spring framework also needs container to work out with spring beans i.e; Does spring container needs a server to work out with?
EJB3.0 provides Dependency Injection for JNDI Objects.In other words,EJB3 dependency injection capabilities are limited in making the JNDI lookups more convinent,but do not go beyond that.
And there seems there is no point in making every internal object of the application to be managed by the application server.
In contrast to the above Spring Framework does it in a different way.Spring works in such a way that it lets the server does not know about each and every object of the application. You can link in objects from JNDI if you need to, but most of your application objects are not managed by the server.
Spring can manage application objects in all sorts of environments ,while EJB3 allows you to run them only in an EJB container.
My Space
Hang over--Wrath of Grapes
No comments:
Post a Comment