Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Design Pettern

 
Raja Islam
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a question that i want to make a medium size server side application. is it necessary to build application on pettern or i can make it without pettern .i also want this application reuseable??
 
Ahmed Balim
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most Design Patterns are based on "Factory Classes" which provide the correct class depending
on the objects that are to be created.If u are creating largely similar objects in your applications then Design patterns will enhance the re-usability of your components.
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course, it is possible to build an application without making use of patterns, but doing so will result in an application that is harder to understand - particularly if you have a team of developers working on it since each developer will have their own way of solving a particular problem. While this isn't bad, it just makes for a more unmaintainable system since it's harder for anybody to dive in and pick up what is going on. In essence, patterns provide reusable solutions to common problems, and a common language with which to talk about them.
As a first step, I would familiarise yourself with the original, "Gang of Four" design patterns, and then move on to look at the
J2EE patterns that describe reusable solutions to common problems found in the design and implementation of J2EE systems.
Also, Floyd from theserverside.com has recently released a book cataloging and describing the EJB related patterns in much more detail. Take a look at EJB Design Patterns.
Finally, if you are after patterns related specifically to the web-tier of J2EE systems, I wrote a chapter for Professional Java Servlets 2.3 called Designing Web Applications and Servlet Patterns, that is available to download frm my website.
Oh, and don't forget to check out Greg's book in this weeks giveaway!
Good luck!
Simon
[ May 07, 2002: Message edited by: Simon Brown ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic