aspose file tools*
The moose likes Other Application Frameworks and the fly likes Spring? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Spring?" Watch "Spring?" New topic
Author

Spring?

Chandrasekhar Mangipudi
Ranch Hand

Joined: Jan 29, 2006
Posts: 118
HI. Guys. Whats Spring and whats the purpose? Whats Difference between spring and struts?


Thanks & Regards,
ChandraSekharMangipudi
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61216
    
  66

Spring framework


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 460
Spring is a framework for developing enterprise applications. One of the main targets of spring is to reduce the amount of code the user has to write, so they developed a lot of templates (like a JDBC template and a Hibernate template) so that you won't need to write a lot of unnecessary code over and over again.

Spring also has many modules. The main two modules are the inversion of control container and the aspect oriented programming module. It also has a web MVC framework.

Spring has nothing to do with struts. It integrates well with struts. Spring MVC is a web mvc framework that could be compared to struts, but not spring as a whole.


Visit my blog: http://jnassef.blogspot.com/
pradeep singh
Ranch Hand

Joined: Oct 23, 2007
Posts: 339
Hi
And what about Struts?
Any update on this topic?


SCJP 5.0(75%), SCWCD 5.0(88%)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61216
    
  66

Struts is as easy to look up as Spring.
pradeep singh
Ranch Hand

Joined: Oct 23, 2007
Posts: 339
What is the difference between them ?which is easier?Does both have same work?Where and when we use either of them?
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 460
Hello Pradeep,

This is like comparing apples with oranges. Spring is an application framework, which helps you integrated different technologies for the different layers of your project (presentation layer, service layer, data access layer, etc). It provides a dependency injection container and AOP. It also ships with a lot of utility classes that speed up your development. As for struts, it's a request based MVC web framework.

Finally, I believe that you already know enough about struts from your posts on that subject in several different topics, like your two posts in the book review of "Struts 2 Design and Programming" by Budi Kurniawan
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

How is awaking the Zombie?
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 460
Yeah. Planned to say that, but forgot
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring?