• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJBHomeLocatorFactory

 
Joy Mookerji
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a HomeLocator factory using EJBHomeFactory and ServiceLocator pattern.
Just wanted to share for opinion
Pls comment on the design


The client has to pass the HomeName and InitialContext

It uses a cache so for subsequent call it doesnt do a look up
 
karthikeyan Chockalingam
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why do you need instance() and hence ejbHomeLocator ?? (As there are no non static methods)
 
Joy Mookerji
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are correct we can get read of the instance method and the ejbHomeLocator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic