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
Murach's Java Servlets and JSP
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 ?
It is sorta covered in the
JavaRanch Style Guide
subject: Question on Prototype pattern
Aggregation and Composition
why clone() ?
Prototype Java Design Pattern
Simple Pattern Question
Confusion regarding which pattern!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014