• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring is web framework or is competitor of J2EE?

 
akhtar qureshi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34860
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use both J2EE and Spring in the same application. Spring can replace parts of J2EE.
 
Mark Secrist
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic