File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes service locater for multiple URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply locked New topic

service locater for multiple URL

ross Bertonoli

Joined: Apr 16, 2008
Posts: 6
My client application needs to call 2 EJBs deployed on 2 different application servers(2 different host url).
I want to use a service locater with caching.
should I create 2 different servie locater classes for each EJB or can I do this with just one service locater class?

Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11278

I have closed this as you have posted the same question in another forum. Please read Carefully Choose One Forum (and the other questions in How to ask questions on JavaRanch).


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
I agree. Here's the link:
subject: service locater for multiple URL
Similar Threads
when should Handle or EJBHome been cached?
BD and SL Design Patterns discussion
Business Delegate and Session beans
service locater for multiple URL
BusinessDelegate and ServiceLocator pattern