Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Service Locator Pattern  RSS feed

 
Ajai
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Few questions regarding Service Locator pattern.

1.Are there any negative implications for using Service Locator pattern(Caching EJB Home references) in the clustered environment?

2.In my case my MDB uses ejbCreate method to perform any other EJB lookups.So I will be doing look up only once when server is started/restarted .Will using a service locator be helpful here?



Thks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!