Paul,
The JDK is the same. You need to install something additional though. To compile J2EE applications, you need j2ee.jar or servlets.jar (if you aren't using EJBs). These will come with the application server you are going to use to run what you write. Common free choices for an application server are
Tomcat (if you aren't using EJBs) and
JBoss.