There are 2 service locator classes in the petstore. One is for the ejb tier the other for the web tier. Why cannot there be just one used for both tiers?
Certifications: <br />scp2, scea, scwcd, WL7.0, CISSP, XML
IMHO Could be web and ejb containers are in different JVMs. JNDI lookups are slow to begin with and having two ServiceLocators eliminates a bit of latency.
New rule: no elephants at the chess tournament. Tiny ads are still okay.