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.
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
posted
0
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).
... 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.