Bobcat
Bobcat

Reputation: 11

Using Java EE classes without installing SDK?

I have already installed standard Java SE JDK into my system. Now I need to gain access to Java EE classes like javax.jms.*.

Thing is, I don't want to install GlassFish or other kind of trash together with it (SDK). I just need to extend my Java SE with EE classes. Is this possible, or do I have to really go through installing SDK s**t?

Upvotes: 1

Views: 177

Answers (2)

carlspring
carlspring

Reputation: 32617

Set up your project to build with Maven, where you have all the Java EE components split into small Java packages such as javax.mail:mail, javax.servlet:servlet-api, etc. This way you don't need to install a bunch of crap, nor do you need to know the tons of libaries they depend on, because they're fetched for you.

Upvotes: 0

Sean Patrick Floyd
Sean Patrick Floyd

Reputation: 298918

Most EE libraries are available separately, either through Maven (search on mvnrepository.com) or from java.net.

JMS can be downloaded separately from its own site

Upvotes: 2

Related Questions