Get your CodeRanch badge!*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes factory or abstract factory? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "factory or abstract factory?" Watch "factory or abstract factory?" New topic
Author

factory or abstract factory?

Robin Zhang
Ranch Hand

Joined: Apr 11, 2002
Posts: 139
Home interface is using factory or abstract factory pattern for EJBObject? what pattern is using between Home interface and EJB beans?
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

That would be the Factory Pattern.
abstract factory is more towards a bunch of classes being created. It can also produce different Factory classes form that one factory.
For instance a Factory of OS GUI Objectd. You pass the OS String and it returns a factory of GUI Objects for that OS.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: factory or abstract factory?
 
Similar Threads
Design Pattern sample question
Does HOME Interface represent FACTORY or ABSTRACT pattern?
here we go again - design patterns from hell
EJB Home interface design pattern
EJB Home uses Abstract factory or Factory Method?