permaculture playing cards*
The moose likes EJB and other Java EE Technologies and the fly likes service locator in ejb3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "service locator in ejb3" Watch "service locator in ejb3" New topic

service locator in ejb3

avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342

In some cases i dont want to use injection,so i write a class that implement Service locator design pattern , but than a few issues pop up:
1. is there any meaning to cacheing in ejb3?
2. Can i avoid from write the ear name hardcoded when i look up for the ejb?

Thank you
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: service locator in ejb3
Similar Threads
How many business delegate components??
Obsolete Design Patterns for EJB3 & SCEA 5
Service Locator and Business Delegate
General Design Choice for SCEA or any new Enterprise App
can I ommit the ServiceLocator from the component diagram?