• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

desing patterns

 
satya kiran
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What Design pattern will be EJBHome Interface?
I think it is AbstractFactory. please correct me.
 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are correct!
 
Kartik Shah
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me understand how is that Abstract Factory pattern ?
 
Nitin Gujral
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am also confused on this!
 
Roshan Lal
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ramdhan Kotamaraja:
You are correct!

I also read it is AbstractFactory. But I am confused. When we use it, we pass the create method a discrminator and returns us a specific object. There is no family of related/dependant objects. Then why is this AbstractFactory and not FactoryMethod?

Roshan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic