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?
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 ]
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.
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
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
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