aspose file tools
The moose likes Struts and the fly likes Struts and spring are same? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts and spring are same?" Watch "Struts and spring are same?" New topic

Struts and spring are same?

Kaleeswaran Karuppasamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 154
what is the different s between Struts 2.0.11 and spring....
struts2.0.11 also support dependency injection .

could i use struts for ejb ,jms ,hibernet tecnology or else spring framework is better..
please suggest me

Judge a man by his questions rather than his answers --Voltaire
SCJP 1.5 97%
Joe Ess

Joined: Oct 29, 2001
Posts: 9043

Spring is a lot of things.
Struts is primarily a web application framework.
It is not unusual to use both in the same application.
Which framework is "best" depends on your requirements. You have to look at the features provided by each (including the possibilities of mixing and matching frameworks to create an application stack) and see which matches your requirements best (the same goes with all the other technologies you mention).

[How To Ask Questions On JavaRanch]
It is sorta covered in the JavaRanch Style Guide.
subject: Struts and spring are same?