Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is the difference between struts and J2EE ?

 
Jack Lau
Ranch Hand
Posts: 168
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I have a question about what is the difference between struts and J2EE? Is struts just part of the J2EE technology? If so, should we study J2EE instead of struts so that we can know the whole stuff?

Thanks in advance!
Jack
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts is a layer on top of J2EE -- i.e., it's a way of using some of the J2EE technologies. You have to know J2EE, and then you can learn Struts.
 
Krishnan Loganathan
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
struts implements MVC 2 Architecture (FrameWork). J2EE is the specification released by sun microsystems for business purpose.

Regards,
Loga
 
Vinnie Jenks
Ranch Hand
Posts: 207
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm...I'm just learning the ropes (long-time C#'er) but as I understand it, Struts is a framework for simplifying the development of servlet-based web applications whereas J2EE is a roundup of technologies based in Java (EJB, Servlets, JSP, etc.) for building enterprise-level apps.

I thought you could build struts-based apps w/o being a J2EE-centric developer?
 
Tony Morris
Ranch Hand
Posts: 1608
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I thought you could build struts-based apps w/o being a J2EE-centric developer?


Struts is tied to J2EE (specifically, the servlet container).
This is one of many design limitations of Struts.

Alternatives to Struts that have been written with more thought include WebWork and Spring Framework.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic