aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes most common patterns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "most common patterns" Watch "most common patterns" New topic
Author

most common patterns

Don Morgan
Ranch Hand

Joined: Jul 24, 2003
Posts: 84
We are conducting an informal survey to see what patterns are the most commonly used on real production systems.

In no particular order, the most common I have used are the Factory Pattern, Command Pattern, Template Method, MVC and Layers.

How about you?


Don Morgan, Founder
www.DeveloperAdvantage.com - FREE Audiobooks for Software Developers
Mike Farnham
Ranch Hand

Joined: Sep 25, 2001
Posts: 76
Sounds reasonable.

Factory method, Factory pattern, Singleton, Facade, DAO, ServiceLocator
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
Command, Facade, Factory, MVC, Singleton, ServiceLocator, DAO
(servicelocator could be implemented as a Singleton though)


Kishore
SCJP, blog
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1382
Add value object(Transfer object) pattern.
Eric Nielsen
Ranch Hand

Joined: Dec 14, 2004
Posts: 194
Observer, Composite, Factory, Strategy
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Take a look at http://faq.javaranch.com/view?DesignPatternsPoll - and participate, if you like...


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Don Morgan
Ranch Hand

Joined: Jul 24, 2003
Posts: 84
Thanks Ilja. I know the GoF Patterns are certainly important - they are the foundation - but their work is over a decade old and there has been much progress since then. Could the page you posted be updated to include the patterns from the PoSA series, PEAA and the J2EE Patterns catalog? Any other key catalogs which need to be included?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Don Morgan:
Could the page you posted be updated to include the patterns from the PoSA series, PEAA and the J2EE Patterns catalog? Any other key catalogs which need to be included?


I fear the page would become too big. But there would be nothing wrong with creating new pages for the other patterns, and linking to them from the original page.

It's a wiki, so please just do it!
Don Morgan
Ranch Hand

Joined: Jul 24, 2003
Posts: 84
Thanks, I did not realize it was a wiki (that's an interesting way to do surveys!).

Once I finish my next audiobook on Ajax (most of the writing and recording is done, should be only a week or two at most), I am planning to add infrastructure for surveys to our own website. I will post a link when its ready.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: most common patterns