• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Home

 
Shanmuga Raja
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why is EJBHome considered following Factory Pattern?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35709
408
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shanmuga,
Because it calls a create method.
 
Shanmuga Raja
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But why it has to be considered factory pattern just because calling create method..Can you explain me in detail?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!