This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes List of Patterns used in Java SE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "List of Patterns used in Java SE" Watch "List of Patterns used in Java SE" New topic
Author

List of Patterns used in Java SE

Nachiket Patel
Ranch Hand

Joined: Sep 16, 2007
Posts: 110
Hello guys,
Lets put all patterns [with reference] used in Java SE.

Template:
[---PatternName---]
Ref: [ClassName]

Detail:

Regards,
Nachiket


Before software can be reusable, it first has to be usable. - Ralph Johnson
Nachiket Patel
Ranch Hand

Joined: Sep 16, 2007
Posts: 110
[---Singleton---]
Ref: [java.lang.Runtime]

Detail:
Runtime.getRuntime() returns single instance of Runtime.
Brian Legg
Ranch Hand

Joined: Nov 07, 2008
Posts: 488
I'm not sure about the template info, but one of my favorite patterns is the Factory pattern.


SCJA
~Currently preparing for SCJP6
Krishnamurthy Sivakumar
Greenhorn

Joined: May 29, 2008
Posts: 3
Decorator pattern - java.io.*Stream
Punit Singh
Ranch Hand

Joined: Oct 16, 2008
Posts: 952
[---factory method---]
Ref: [Calendar], [DateFormat], [NumberFormat]

[---Iterator patter---]
Ref:[Java.util.Iterator]


SCJP 6
Chaminda Amarasinghe
Ranch Hand

Joined: May 17, 2006
Posts: 402
[---MVC---]
Ref: [Button]

All swing components adhere the MVC
Sai Swami
Ranch Hand

Joined: Sep 24, 2002
Posts: 51
Flyweight Pattern
--> java.lang.String
 
jQuery in Action, 2nd edition
 
subject: List of Patterns used in Java SE
 
Similar Threads
What is the currect Java Version used on the SCJA exam
importance of the interface
About Java 2 Platform Production
TESCO Bangalore
How to call exe using Java program