• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Commonly using Spring Modules

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

I'm new to spring and would like to know what are the most commonly used Spring(3) modules.
I just went through MVC, but felt that it is more complex when compared to Structs.
So just want to know which all modules made Spring this much popular.
 
ranger
Posts: 17347
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
As someone who has used Struts and Spring MVC for over 5 years, MVC is much simpler. There is less work to do than Struts and a cleaner looser coupling than Struts.

It is probably because you have years of experience with Struts and then just started learning Spring MVC. The architecture between the two from the perspective of MVC is identical. The big difference is in Spring MVC you "actions" are POJOs, whereas in Struts they are required to extend Action and therefore have to have an Action per URL rather than one class to respond to many URLs.

Core Spring itself is probably the number one reason why people use Spring. it is the Spring Container that gives us all the possibilities to write AOP, Spring MVC, REST, Soap Web Services, JMS, JMX, RMI, Batch, Integration, etc.

So the most common used is Core Spring.

Just to bring Struts back in. Struts is just a web framework. You can't use it to build other types of applications.

Spring MVC is a web framework and just a module/part of Spring Framework but it isn't the Spring Framework itself.

Mark
 
Can you smell this for me? I think this tiny ad smells like blueberry pie!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic