Results 1 to 3 of 3

Thread: EJB Container

  1. #1
    Join Date
    Dec 2005
    Posts
    8

    Default EJB Container

    Hi,

    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,
    Sen

  2. #2
    Join Date
    Aug 2004
    Posts
    2,715

    Default

    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.

    Regards,
    Andreas

  3. #3
    Join Date
    Jun 2011
    Posts
    10

    Default

    > 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 ?

    thanks,
    Parag

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •