• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Struts Vs Spring

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

We are developing web based application, please suggest the best framework either Springs or Struts. How soon can we get acquinted with springs knowledge if we have already worked with Struts. Is it too difficult to understand springs framework?

Thanks in advance
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Neethi MannajiRao wrote:Hi All,

We are developing web based application, please suggest the best framework either Springs or Struts. How soon can we get acquinted with springs knowledge if we have already worked with Struts. Is it too difficult to understand springs framework?

Thanks in advance



1) Spring Framework versus Struts is an apples to oranges comparison
2) Spring MVC to Struts comparison is apples to apples
3) Spring MVC is a module of the Spring Framework, so the framework is about Dependency Injection, Enterprise services and much more.
4) It is called Spring, not Springs. No plural there.

There are many threads in this forum that answer your question as it is a big question that can take a long time to answer. Please try to do a search in the forum. There is a search box right at the top of the forum.

Good Luck

Mark
 
Ranch Hand
Posts: 530
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you want only MVC, go for Struts.
If you want MVC, dependency injection, AOP, transaction manager... go for Spring.

In general Spring is a giant compared to the tiny Struts.
 
Mark Spritzler
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Nam Ha Minh wrote:If you want only MVC, go for Struts.
If you want MVC, dependency injection, AOP, transaction manager... go for Spring.

In general Spring is a giant compared to the tiny Struts.



Just my opinion, and I have worked with Struts. that Struts is old technology and Struts 1 hasn't been changed in many many years, Struts 2 is a completely different project.

I would always choose Spring MVC over Struts anyday. Now that doesn't mean that every web application I write is with Spring MVC, I also really love Grails, well that is built on top of Spring MVC. But even other web frameworks works well too.

If I need REST apis, Spring MVC is so easy to do, especially if you use JPA, then Spring Data JPA and Spring Data REST can create all of it automatically for you.

But I am also trying to avoid Servlets and JSPs as much as possible these days, looking for a pure html/css/javascript front ends with templating on the client side.

Mark
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic