A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Prototype Java Design Pattern
Simple Pattern Question
why clone() ?
Confusion regarding which pattern!
Aggregation and Composition
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014