my dog learned polymorphism
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes static Factory method pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "static Factory method pattern" Watch "static Factory method pattern" New topic

static Factory method pattern

Qusay Jaafar
Ranch Hand

Joined: May 06, 2002
Posts: 127
I read about Factory method pattern and about Abstract Factory pattern, but once I read that if a Factory with static factory methods will be called static Factory method.
Is there a pattern called static Factory method pattern or it is just modification for the original Factory pattern itself?
The link below is about it:
web page
N.B. static Factory method pattern could be used to connect either to local connection or remote connection.

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

To Be honest, whether the methods are static or not static, I always call it a Factory class.

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: static Factory method pattern
It's not a secret anymore!