aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "service locator in ejb3" Watch "service locator in ejb3" New topic
Author

service locator in ejb3

avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
Hey,

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: service locator in ejb3
 
Similar Threads
Service Locator and Business Delegate
can I ommit the ServiceLocator from the component diagram?
General Design Choice for SCEA or any new Enterprise App
How many business delegate components??
Obsolete Design Patterns for EJB3 & SCEA 5