As a new template design, you can recommend an open code base (preferably in java) that has design templates that are used explicitly and elegantly. Reading GOF left me confused. I was looking for a project that used several templates that interacted with each other. thanks.
You can see JUnit and some of the docs . In addition, JUnit is an extremely useful tool in itself. I think any Java developer should know how to use it.
You can also find an interesting conversation with Erich Gamma posted on Artima.com:
Perhaps not all parts of this conversation relate to your question, but they are all very interesting.
Instead of a code base, I recommend reading Head First design Patern , by ore. These books contain a truly didactic example.
But the JDK is also populated with a design pattern. You can find the Watcher / Observer, Iterator. Or more subtle, Decorator in the Java I / O API
Google Book Link for First Design Template
, . , .
- , , .
First First Design Pattern, .
JDK .
, InputStream/OutputStream, Reader/Writer , OutputStream , .
InputStream
OutputStream
Reader
Writer
http://userpages.umbc.edu/~tarr/dp/fall00/cs491.html
GoF? , .
, Singleton, Lazy Initialization, Decorator .., .
, , , J2EE: (2- ) - , , - Java.