File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

service locator in ejb3

 
avihai marchiano
Ranch Hand
Posts: 342
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic