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
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
 
Consider Paul's rocket mass heater.
 
subject: service locator in ejb3