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

design pattern

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 580
I have started to develop a web application based on Struts 1.2,Spring 2.0 and Hibernate 3.0.I have no idea about,which design pattern to be used .I read many articles regarding design pattern,finally confused to choose which pattern.Any one .please suggest on application does not needs distributed environment.
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

From Wikipedia:
a design pattern is a general reusable solution to a commonly occurring problem in software design. A design pattern is not a finished design that can be transformed directly into code.

You'd be better served reading up on Struts and Hibernate Best Practices at this point. After you have some experience, you'll notice that Best Practices tend to follow design patterns (Struts itself is a Front Controller. Hibernate is commonly used to construct Data Access Objects) and give you a better starting point for understanding what patterns are and how to recognize/use them.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: design pattern
It's not a secret anymore!