• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

TOMCAT and J2EE 1.4

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 67752
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Mulugeta Maru
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much. You have directed me to the right place.
Mulugeta
 
Why does your bag say "bombs"? The reason I ask is that my bag says "tiny ads" and it has stuff like this:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic