aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Regarding learning of Java Design Patterns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Regarding learning of Java Design Patterns" Watch "Regarding learning of Java Design Patterns" New topic
Author

Regarding learning of Java Design Patterns

Keerthi Kumar
Ranch Hand

Joined: Apr 20, 2009
Posts: 105
Hi all,

I want to start learning java design patterns. Can any one help me on how to start for the same. Because, I know some design patterns which is used in my current project. But I want to learn on how to design an application when requirements are being given.

Please help !!


Cheers,
Keerthi Kumar N
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
One of the most important aspects about object-oriented design patterns is that they are independent from any specific programming language or implementation. Object-oriented design patterns can be implemented with any object-oriented programming language. To refer to the patterns as "Java Design Patterns" is not accurate simply because they could be implemented with Java. The same patterns could be implemented with C++ as well.
Thorin Potjes
Greenhorn

Joined: Aug 27, 2011
Posts: 14

You say you want to learn to design an application, and to learn design patterns. Note that these are 2 different things. If you know a lot of design patterns, that is not enought to design an application. Your application should not consist of a lot of design patterns put together. Don't get 'pattern happy'. You design an application, and when you encounter a problem for which someone has documented a reusable solution (a design pattern), you apply that pattern. The real trick is learning to recognize these recurring problems.


'Design Patterns for Java' trainer
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1775
    
  14

You should probably read some books on this stuff, as there are lots of them around. The classic text is "Design Patterns" by Gamma, Helm, Johnson and Vlissides (the "gang of four"), which has lots of patterns including many you may never need. For a quick start that will focus on the more commonly used patterns, try the excellent "Head First Design Patterns" by Freeman and Freeman. Craig Larman's book "Applying UML and Patterns" is good too, although it covers UML and OO design in general, not just patterns.

However, be careful about how you use patterns. I've worked on a few projects where people have basically used every pattern they could find in all the Java JEE sample applications, regardless of whether the project actually needed them.

No more Blub for me, thank you, Vicar.
Vivekkk Singh
Greenhorn

Joined: Feb 20, 2009
Posts: 16
Yes try Head First excellent book very good explanations relating to real world problems.
Wendy Gibbons
Bartender

Joined: Oct 21, 2008
Posts: 1107

I liked Design patterns in java by Steven John Metsker and William C. Wake

Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4422
    
    8

Alain Utrillo,
Your post was moved to a new topic.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding learning of Java Design Patterns