Dec 12th, 2005, 03:35 PM
I am new to Spring Framework. I like to know if Spring provides a default EJB Container.
Do you I need an Application Server to implement the following architecture
spring(MVC) + EJB(Stateless bean which extends AbstractStatelessSessionBean) Spring + hibernate.
Can I deploy the above application in tomcat or other webserver. Can Spring container take care of the EJB's?
Thanks in Advance,
Dec 13th, 2005, 12:45 AM
No, Spring does not provide an EJB container. Spring just provides some convenience functionality to implement or access EJBs.
In order to use Spring MVC you do not need an application server. If you need to deploy EJBs, then however, an application server is required.
Just be aware, that for many use cases EJBs add no value to an application. So you might be better off without them. Spring also brings remoting capabilities and allows you to work with plain Java objects without the overhead of an EJB container.
Jun 6th, 2011, 03:50 AM
> No, Spring does not provide an EJB container. Spring just provides some convenience functionality to implement or access EJBs. <
Hi Andreas, If Spring provides functionality to implement EJBs which container manages these EJBs. Is it the Spring container ?