• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

which jdk for tomcat? j2ee or j2se?

 
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to install Tomcat on my development machine. Which JDK do I need--the one for J2EE or J2SE? I already code in Java using J2SE 1.4.2, and I just downloaded the J2EE SDK: j2eesdk-1_4-beta2-windows-eval.zip
However, I don't want to install it if I don't need it. I'm really not clear on which one I need for running a servlet/JSP app in Tomcat. It seems like for J2EE-related stuff I would have to have this J2EE SDK, but I've read stuff elsewhere online that seems to just require the J2SE SDK. Any clarifying comments would be greatly appreciated!
And to clarify...I did see this post. But I'm confused b/c it says you don't need J2EE unless you use JavaBeans. Our server is currently running a web app (that I/we didn't develop) and I know that J2SE is installed b/c I get feedback from typing java at the command prompt but not when I type j2ee. The app uses beans, but I'm wondering if the difference is that you have to have J2EE in order to use *Enterprise* JavaBeans...this seems like it should be so simple for me to understand, but I want to make sure!
[ August 15, 2003: Message edited by: Stephen Huey ]
[ August 15, 2003: Message edited by: Stephen Huey ]
 
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tomcat requires only J2SE. It provides (in servlet.jar) the J2EE classes that you need.
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Stephen, you're right.

it's *enterprise* javabeans that require a EJB container, and by inference, j2ee.jar.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic