Wednesday, October 30, 2002 08:06 AM
I think there is some good discussion and clarification of these in Bruce Eckel's book "Thinking in Java", either the printed version or the online version.
Also see "Item 1" on static factory methods, singletons etc., in Josh Bloch's book "Effective Java".
Basically I think it's usually good to provide static factory methods (cf Josh Bloch), but that there are different reasons & ways internally, depending on your internal structure, for doing so (cf Bruce Eckel). These correspond to those different "design patterns" you mention.