Service Locator Pattern


EJB design: Service Locator Pattern

  1. Service Locator Pattern (2 messages)

    Hi, I have some questions about Service Locator pattern.

    1) Is it OK to use it to locate Local Home interfaces?

    2) Would it be a good practice to have a cache for home objects or local home objects?

    3) And to cache references to statefull session beans or their handles?

    Thanks a lot!

    Nicolas Dobler
    Santa Fe - Argentina

    Threaded Messages (2)

  2. YES - YES - NO[ Go to top ]

    According to me, the answers are:

    1) YES
    2) YES
    3) NO

    Have a look at the post "Reusable Service Locator Component"


  3. YES - YES - NO[ Go to top ]

    I agree with François!