File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Architect Certification (SCEA/OCMJEA)
Question on Prototype pattern
Joined: Oct 02, 2002
Oct 23, 2006 08:31:00
Went through a couple of links regarding Prototype
. The following is my understanding
1) It can only be used when the shallow copy of the object would be sufficient - dont we need to have a complete copy of the object in most cases.
2) Whereever we use Cloneable with a suitable Abstract/Concrete, would that become Prototype ?
I agree. Here's the link:
subject: Question on Prototype pattern
Simple Pattern Question
Prototype Java Design Pattern
Confusion regarding which pattern!
why clone() ?
Aggregation and Composition
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014