Results 1 to 2 of 2

Thread: EJB use

  1. #1
    IDH
    IDH is offline Member
    Join Date
    Mar 2011
    Posts
    2
    Rep Power
    0

    Default EJB use

    Hi,

    I am a beginner in EJB, and I am studing for get my sun certification ,but I don´t know when use it in a real project where we could use it.

    For example if you have several servers in different places, you can share the weigth of the app, putting a bean in each server.

    ¿Someone knows a real situation where EJB are needed?, for example I am developing a project for an assotiation which has a web for Spain and from that web
    manage spanish projects, but also has another projects in Bulgaria then ¿could be a good idea use EJB for share in one EJB Bulgarian projects and in another Spanish project,
    with the capability of visualize all from an unique view?

    Thanks in advance.

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    Before looking at real world scenarios, look at what EJBs give you. Understand the seven roles and see what benefits you get from those roles being separated. Then understand what EJB containers are supposed to guarantee for you and see how that benefits the developer.
    From those you'll be able to see the technical benefits of using EJBs.

Posting Permissions

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