aspose file tools*
The moose likes Beginning Java and the fly likes What is the difference between struts and J2EE ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What is the difference between struts and J2EE ?" Watch "What is the difference between struts and J2EE ?" New topic
Author

What is the difference between struts and J2EE ?

Jack Lau
Ranch Hand

Joined: Aug 30, 2002
Posts: 166
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

Joined: Jul 08, 2003
Posts: 24187
    
  34

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.


[Jess in Action][AskingGoodQuestions]
Krishnan Loganathan
Greenhorn

Joined: Apr 24, 2004
Posts: 23
Hey,
struts implements MVC 2 Architecture (FrameWork). J2EE is the specification released by sun microsystems for business purpose.

Regards,
Loga
Vinnie Jenks
Ranch Hand

Joined: Apr 26, 2004
Posts: 207
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

Joined: Sep 24, 2003
Posts: 1608

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.


Tony Morris
Java Q&A (FAQ, Trivia)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is the difference between struts and J2EE ?