aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes New to design patterns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "New to design patterns" Watch "New to design patterns" New topic
Author

New to design patterns

Dhanya Palanisamy
Ranch Hand

Joined: Oct 20, 2006
Posts: 61
Hello everyone,

I have to learn J2EE design patterns. For this should i learn GoF patterns first or i can start learning J2EE patterns? Please do help me.
Also to create a web application to register students for a class what patterns should be used?


Thanks & Regards,
Dhanya
Lucas Lee
Ranch Hand

Joined: Oct 02, 2006
Posts: 53
It seems you want to do all things right at your first time.
It's not easy or good, you know.

The J2EE patterns have little relation to GOF patterns. So you can learn them respectively.
But GOF patterns are most popular, important, classic things you should learn them after several years experience of programming.

For a web application, you can achieve it without any patterns, and of course can do it with a lot of patterns ,this's not certain.
But I think most dangerous things is using patterns you don't grasp.
[ January 15, 2007: Message edited by: Lucas Lee ]
Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855
Hi Dhanya,

I recommend http://www.corej2eepatterns.com.

However I agree with Lucas that you should have first an understanding for design patterns in general.

Regards,
Darya


SCJP, SCJD, SCWCD, SCBCD
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Dhanya Palanisamy wrote: I have to learn J2EE design patterns

Can you explain a bit more about why you need to "learn J2EE design patterns" in particular, and why you need to learn them now?

Learning fully how and when to apply (and when not to apply) a wide range of patterns is a very different task from learning a few names so that you can recognize when a colleague mentions one of them.

In my experience, the most important thing is to really understand what a pattern is, and what it is not, and the driving principles behind most of the patterns we see in pattern catalogues. That way you stand a better chance of understanding and applying any new pattern when you discover it.

The second most important thing is to learn the names and rough descriptions of a range of common patterns (particularly the GoF patterns), so that you can understand and join in design discussions.

Actually studying and learning every aspect of a set of patterns comes much later in the list. Learning the names and keeping a few books on your desk gets you 90% of the way there for much less effort.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Dhaval Shah
Ranch Hand

Joined: Jun 10, 2005
Posts: 56
Hi,
Frank can you please elaborate on what you have written, because one major difficulty that I am facing is I am unable to co relate patterns with the implementation. I have read from the book as to "What is pattern", "When are they used" . . .etc, but still I am unable to put them in correct perspective

Even I am novice (1.5 year) in this industry, but I am very keen in learning patterns and use them appropriately, which I am unable to do. So can anyone help me in this regards?

Thanks
Dhaval Shah


Thanks and Regards,<br />Dhaval Shah<br />SCJP 1.4<br />SCWCD 1.4
Subhadip Chatterjee
Ranch Hand

Joined: Dec 12, 2006
Posts: 93
Hi Debhal,
if you really keen about learning design patterns...follow a simple yet excellent book. Oreilly's "Head First"-series book on Design Patterns. You will learn to know and implement patterns very soon. Just keep on reading a bit more, everyday


Refreshing life every moment...
vijay kumarg
Ranch Hand

Joined: Dec 14, 2006
Posts: 105
Hi Dhanya,

Full potential of design patterns can only be realized through extensive coding experience.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
A great way to learn patterns is to form a study group. See http://www.industriallogic.com/papers/learning.html


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
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

We all use design patterns. The only thing which needs to be learned is how to recognize them and call them by name.

I agree that you should 'learn' the GOF patterns first because this will teach you the concept of a pattern. Plus the J2EE patterns can get a bit flaky.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: New to design patterns