Meaningless Drivel is fun!*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "design pattern" Watch "design pattern" New topic
Author

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
Bartender

Joined: Oct 29, 2001
Posts: 8876
    
    8

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