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 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 8935

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).

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Struts and spring are same?