aspose file tools*
The moose likes Tomcat and the fly likes TOMCAT and J2EE 1.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "TOMCAT and J2EE 1.4" Watch "TOMCAT and J2EE 1.4" New topic
Author

TOMCAT and J2EE 1.4

Mulugeta Maru
Ranch Hand

Joined: Jan 20, 2003
Posts: 68
I am new to both Tomcat and J2EE. I would like to learn J2EE (specifically JSP). I installed Apache and Tomcat. They worked fine � the web server being localhost:8080. Today, I installed J2EE 1.4 from Sun Microsystem and the localhost changed to 1024. When I enter localhost:1024 it displays J2EE info page. When I enter localhost:8080 I get an error saying the page does not exist (it use to display the TOMCAT info page).
I am confused. How do I know which software is acting as a webserver?
Thank you,
Mulugeta
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

If JSP and servlets are all you need, J2EE is not needed.
Now if you want to get into EJBs, that's where J2EE is needed.
hth,
bear
[ June 30, 2003: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mulugeta Maru
Ranch Hand

Joined: Jan 20, 2003
Posts: 68
I would like to understand how Apache, Tomcat, and J2EE are related. Is there any document I should refer to get a good understanding? Please help.
Mulugeta
Andrew Richards
Greenhorn

Joined: Nov 28, 2002
Posts: 12
Where does Tomcat fit into J2EE? Thats a fairly open ended question but here goes.
Tomcat is a java based web server that supports both servlets and jsp. J2EE is a framework of java based technologies that includes EJB(destributed components), JMS(asynchronous messaging), JCA(back end conectivity), JDBC(database conectivity)as well as many others. JSP/Servlets are one of those technologies.
Tomcat is usefull for devoloping web applications that use JSP/Servlets. If you need additional J2EE functionality you will probably need an Applicaton Server. Sun produce a reference implementation of a J2EE application server, which you have already downloaded and installed. It is called a reference implementation as it is designed simply for testing J2EE technologies and not as an industry standard product.
As far as reading material goes there is no shortage on the web! Tomcat comes with alot of nice examples of both JSP and Servlet applications. There is a full J2EE step by step tutorial, which you can download from Sun. There should be enough in those two to keep you busy for a while!
Good Luck,
Andrew
Mulugeta Maru
Ranch Hand

Joined: Jan 20, 2003
Posts: 68
Thank you very much. You have directed me to the right place.
Mulugeta
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TOMCAT and J2EE 1.4