Using Entity EJB from Session EJBs

Discussions

EJB design: Using Entity EJB from Session EJBs

  1. Using Entity EJB from Session EJBs (3 messages)

    I am looking for some articles from people who have used Entity EJB from within Session EJB (stateful or stateless).

    I am concerned about using remote objects from within a remote object.

  2. Using Entity EJB from Session EJBs[ Go to top ]

    Using entity beans through a session facade implemented as a stateless/stateful session bean is a common solution.

    About using remote objects from a remote object... For example, BEA WebLogic uses local (JVM) calls between two EJBs if they're located in the same JVM, which is basically the same as using a local EJB interface.
  3. Using Entity EJB from Session EJBs[ Go to top ]

    1 find out entity bean home interface
    2 use home interface to create entity bean remote interface
    3 call entity bean method by use remote interface
  4. Using Entity EJB from Session EJBs[ Go to top ]

    Hi,
    Using a Session Facade pattern reduces the coupling between client and business objects and reduces to n fro network traffic.The container maintains a pool of session beans improving performance.To avoid remote calls for data extraction use value objects to send across the network.
    See http://java.sun.com/blueprints/corej2eepatterns/Patterns/SessionFacade.html
    Thanks
    Jyot