• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New to design patterns

 
Dhanya Palanisamy
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1855
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dhaval Shah
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Subhadip Chatterjee
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
vijay kumarg
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dhanya,

Full potential of design patterns can only be realized through extensive coding experience.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A great way to learn patterns is to form a study group. See http://www.industriallogic.com/papers/learning.html
 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic