开发者

Using Java EE classes without installing SDK?

开发者 https://www.devze.com 2023-03-16 17:53 出处:网络
I have already installed standard Java SE JDK into my system. Now I need to gain access to Java EE classes like javax.jms.*.

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 i开发者_如何转开发s, 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?


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消