This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "design pattern" Watch "design pattern" New topic

design pattern

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
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: 8935

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.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
subject: design pattern