Design patterns and Installing glassfish server
Design Patterns
They say “Learning technology” and “Learning to design with technology” are different and if you have to accomplish the later you must know design patterns. In the context of present day’s framework era, like Spring, JBoss Seam, plumbing codes have been taken out virtually from the developers. Also the pioneers of these frameworks built it with excellent orchestration of design patterns. So if you know various aspects of Spring/Seam, do you ever need to learn Design Patterns? Why whould you have to learn MVC (Definitely you are not going to write Servlets and JSPs) when there is Spring MVC/Sun-Seam JSF available out there?
Design patterns are the key to understand any frameworks. Even if a new framework incarnates in the market, knowing the design patterns and its application, your learning curve is very very less.
Design Patterns are the ARCHITECT’s LANGUAGE. Hope i would have convinced a bit about design patterns.
Coming back to our SCEA thingy, Design Patterns are at first priority in my SCEA preparation. Following are the 2 excellent books, the first one being indispensable and cannot be missed out.
- Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma, Richard Helm, Ralph Johnson, John M. Vlissides
- Core J2EE Patterns: Best Practices and Design Strategies (2nd Edition) by Deepak Alur, Dan Malks, and John Crupi
I have backed these books from library and started reading it. First book is not language specific (examples given in C++), whereas the second entirely deals with J2EE patterns (most of these patterns (mainly relating to EJB) are now irrelevant, you can skip them safely). I have started reading the first book, finished with Composite View pattern and parallely referring the 2nd book for J2EE (now Java EE) specific things. Following few blogs will be more about design patterns & UML and less about EJB & Webservices as learning the former influences a lot in learning the later.
Online Resource: (If you dont have enough enthusiasm to read a whole book on design patterns)
1. http://www.fluffycat.com/Java-Design-Patterns/ (Code examples are very useful to learn)
Video tutorial:
http://sourcemaking.com/design-patterns-vidtut?a=5527
Installing glassfish server
Practice, Practice and Practice. Repeat this word 1000 times here. We need an application server for practice. Tomcat will do (as an application server) with present advancements in persistence area. Yet we need a traditional application server. Glassfish is what i would suggest. If you love tomcat, you will love Glassfish too. I use Linux (Ubuntu) at home and installed Glassfish without any hassles. Installed it today in Windows after tackling few problems and ran it. Will include the installation steps (both Linux and Windows) here asap.
EOD 2, I am all set to learn Design patterns (finished Composite View pattern) and my Glassfish server is ready to run my examples.
Posted by Balaji Natarajan 


