wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets 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 this.my application does not needs distributed environment.
Joe Ess

Joined: Oct 29, 2001
Posts: 8834

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]
I agree. Here's the link: http://aspose.com/file-tools
subject: design pattern
Similar Threads
Can we apply any other design patterns like factory pattern etc. in struts framework?
Composite Delegate
Which Design Pattern to use for SWT based applications
What is difference between Design Pattern and FrameWork ?
Architectural patterns with EJB 3.0