EJB usage in a web system

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • popprem
    New Member
    • Nov 2008
    • 19

    EJB usage in a web system

    Hi,

    I'm a working on a web system for my final year project and I'm using SpringMVC and Hibernate for this project. Since it is my final year project, for my experience and learning, i wanted ti integrate EJB 3.0 too, but i'm a little bit confused in how to use it in this project. Can anyone please guide me on how to use or for what purposes we can use EJB 3 in a SpringMVC + Hibernate project???

    thanks in advance.
  • vinot85
    New Member
    • Aug 2007
    • 53

    #2
    Originally posted by popprem
    Hi,

    I'm a working on a web system for my final year project and I'm using SpringMVC and Hibernate for this project. Since it is my final year project, for my experience and learning, i wanted ti integrate EJB 3.0 too, but i'm a little bit confused in how to use it in this project. Can anyone please guide me on how to use or for what purposes we can use EJB 3 in a SpringMVC + Hibernate project???

    thanks in advance.
    Hi Buddy,

    Well and good.

    You can very well use it. To use EJB, first you need to have an Application Server like Websphere Application Server, Glass fish, BEA web logic, etc.

    I would suggest you to develop your application using Netbeans5 or 6 where you can deploy the EJB components easily with few actions on the IDE itself.

    The second question of you is Advantage and uses of EJB :

    Primary advantage in going for EJB is that, you can reuse the code for your business model by making your code as an EJB component like Session, Entity or Message driven, etc.

    Hope my answer would have served your question to certain extent.

    Regards,
    Vinoth

    Comment

    Working...