Discussions

Performance and scalability: Session Facade performance

  1. Session Facade performance (1 messages)

    In Marinescu:s "EJB Design Patterns", he mentions the Session Facade Pattern as a means to increase performance (through decreasing network load), as access to EB becomes restricted through SSB. Although, I found a white paper (http://www.cs.rice.edu/CS/Systems/DynaServer/perf_scalability_ejb.pdf) where they test different configurations/patterns and their performance, and in this test the Session Facade Pattern performs worse than a CMP implementation! How can this be? Is it impossible for a SSB access EB by other ways than through a network call, even if they exist on the same server? Sorry if this is a FAQ, but I'm just starting to learn J2EE/EJB.
  2. Session Facade performance[ Go to top ]

    Hi,

    with EJB 2.0 you can use the local interfaces of an EJB to connect to it from the same ejb-container. And that's really a lot faster than using a rmi-call.

    Regards
    Marc