wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts  VS  Spring Framework 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 "Struts  VS  Spring Framework" Watch "Struts  VS  Spring Framework" New topic
Author

Struts VS Spring Framework

somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
What are different between Struts Framework and Spring Framework ???

Such as Goal/pupose, efficiency, productivity ... etc.



SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Struts is a web application framework. Spring is a web application framework plus a whole lot of other things including an "AOP" framework, a DAO framework, etc. The Spring documentation might help you get a more thorough picture.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
By the way, TheServerSide has just published an excerpt from Matt Raible's "Spring Live", which contains an example of how one goes about building a web application using Struts (for MVC), Spring, and Hibernate.

http://www.theserverside.com/news/thread.tss?thread_id=27635
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Thank you very much.
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Hi Lasse Koskela ,


What does "AOP" mean ? ...
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by somkiat puisungnoen:
What does "AOP" mean ? ...

Aspect-Oriented Programming. You can get a reasonable idea of what it's all about if you read the documentation for AspectJ, an AOP framework. Another popular AOP implementation is AspectWerkz which is based on Java (i.e. not adding new language constructs like AspectJ is doing). You can see a "hello world" using AspectWerkz in here.
[ July 28, 2004: Message edited by: Lasse Koskela ]
 
Don't get me started about those stupid light bulbs.
 
subject: Struts VS Spring Framework
 
Similar Threads
what is the advantage of spring over struts..
Is Seam Framework better framework than struts and Spring?
How to Link spring into struts
Web Application Framework in the FUTURE ..
how can i change the suffix of struts