This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Spring and the fly likes Spring is web framework or is competitor of J2EE? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply Bookmark "Spring is web framework or is competitor of J2EE?" Watch "Spring is web framework or is competitor of J2EE?" New topic
Author

Spring is web framework or is competitor of J2EE?

akhtar qureshi
Greenhorn

Joined: Nov 24, 2009
Posts: 16
Hi....
Spring is web framework just like struts???
or Spring is individual application not include in j2ee....?
Spring and j2EE is competitor?

please Help me....
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35247
    
    7
Spring is an application framework, not just a web framework; it can just as well be used in desktop applications as in web applications. It doesn't depend on JEE (and is in no way a competitor to it).


Android appsImageJ pluginsJava web charts
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26192
    
  66

You can use both J2EE and Spring in the same application. Spring can replace parts of J2EE.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Mark Secrist
Ranch Hand

Joined: Jul 01, 2003
Posts: 89
... Or in some cases, Spring can enhance existing J2EE functionality. For example, I use Spring Security, which provides a better authentication model but I'm still using J2EE authorization in some places since Spring appropriately sets the Principal value in the request object of servlet invocations. So I can use request.isUserInRole() to enforce fairly granular authorization rules. At the same time, I can use simple Spring security configuration to handle more coarse grained authorization rules.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Spring is web framework or is competitor of J2EE?
 
Similar Threads
What is PEGA
Struts and Other Frameworks change
what is the advantage of spring over struts..
Spring vs Tapestry
Struts, Spring, JSF, etc.