It's not a secret anymore!
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes desing patterns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "desing patterns" Watch "desing patterns" New topic

desing patterns

satya kiran
Ranch Hand

Joined: Nov 07, 2000
Posts: 52
What Design pattern will be EJBHome Interface?
I think it is AbstractFactory. please correct me.
Ram Dhan Yadav K
Ranch Hand

Joined: Aug 13, 2001
Posts: 321
You are correct!

Ram Dhan Yadav (SCJP, SCWCD, SCJA-I, IBM EC(483))
"We are what we repeatedly do. Excellence, then, is not an act, but a habit."
Kartik Shah
Ranch Hand

Joined: Dec 07, 2000
Posts: 102
Please help me understand how is that Abstract Factory pattern ?

Kartik Shah
SCJP, SCDJWS, IBM Certified Websphere & XML, PMP & Six Sigma -
Nitin Gujral

Joined: Jan 19, 2001
Posts: 17
I am also confused on this!
Roshan Lal
Ranch Hand

Joined: Nov 13, 2001
Posts: 64
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?

I agree. Here's the link:
subject: desing patterns
It's not a secret anymore!