Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

service locator in ejb3  RSS feed

 
avihai marchiano
Ranch Hand
Posts: 342
  • 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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!