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 Java Interview Guide this week in the Jobs Discussion 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 Karuppusamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 155
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: 9191

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]
I agree. Here's the link:
subject: Struts and spring are same?
It's not a secret anymore!