Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

which jdk for tomcat? j2ee or j2se?

 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • 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 ]
 
Ron Newman
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat requires only J2SE. It provides (in servlet.jar) the J2EE classes that you need.
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stephen, you're right.

it's *enterprise* javabeans that require a EJB container, and by inference, j2ee.jar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic