File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Design Pettern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Design Pettern" Watch "Design Pettern" New topic

Design Pettern

Raja Islam
Ranch Hand

Joined: Dec 07, 2001
Posts: 74
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

Joined: May 06, 2002
Posts: 3
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

Joined: May 10, 2000
Posts: 1913
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 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!
[ May 07, 2002: Message edited by: Simon Brown ]
I agree. Here's the link:
subject: Design Pettern
It's not a secret anymore!