GeeCON Prague 2014*
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


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

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
Bartender

Joined: Oct 29, 2001
Posts: 8915
    
    8

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]
 
GeeCON Prague 2014
 
subject: Struts and spring are same?