0

Can I program for Tomcat, servlets, etc in IntelliJ with only the JDK SE installed, or do I need to install the EE SDK?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Don Rhummy
  • 24,730
  • 42
  • 175
  • 330

1 Answers1

1

EE doesn't have a separate JDK or JRE. EE is a specification that is implemented by some servlet containers. The EE servlet containers run on Java SE JVM & JRE. I would suggest reading up on the difference between the Web profile and the full EE profile. Many REST services won't need the full EE profile. The Web profile applications will be compiled into a .war artifact, and EE profile applications will be compiled into a .ear artifact.

Tomcat is an implementation of the Web profile, not the full EE profile. If you decide you need EE profile features, check out TomEE or another EE profile container.

Oracle offers a Java EE SDK, but all it is is an EE servlet container (Glassfish), and some EE examples. It may be a good download if you're interested in using EE features. But if you're only writing servlets for Tomcat you really don't need it.

Samuel
  • 16,923
  • 6
  • 62
  • 75