简体   繁体   English

Java SE / EE JDK混乱

[英]Java SE/EE JDK confusion

I want to install Netbeans for Java EE, which I did. 我想安装Netbeans for Java EE。 During installation, it said JDK missing and gave me a link from where I downloaded 'SE' JDK. 在安装过程中,它说JDK丢失了,并给了我一个下载“ SE” JDK的链接。 I couldn't really find 'EE' JDK. 我真的找不到'EE'JDK。 I might not be making any sense, but is that the JDK I want for my EE work? 我可能没有任何意义,但是我想要我的EE工作使用的JDK是吗? Netbeans got installed alright but I just want to make sure that everything Is ok. Netbeans安装正确,但我只想确保一切正常。 Even though I have quite a bit understanding about the basic differences in Java SE and EE. 即使我对Java SE和EE的基本区别有相当的了解。 Only JDK I could find was for SE. 我只能找到JDK用于SE。 If there is one for EE then kindly provide the link? 如果EE有一个,请提供链接? or just let me know if I did everything right. 或让我知道我是否做对了所有事情。

Java EE is a fundamentally different story than SE. Java EE与SE根本不同。 Whereas SE contains the Java runtime and many development tools, EE is just a library. SE包含Java运行时和许多开发工具,而EE只是一个库。 In fact, most of the library are just interfaces with no implementations. 实际上,大多数库只是没有实现的接口

This is because the JEE application container is the one which will provide its implementations of those interfaces. 这是因为JEE应用程序容器将提供那些接口的实现。 At development time you just need the interfaces to have something to refer to and NetBeans for Java EE (hopefully) already comes with those interfaces bundled. 在开发时,您只需要接口引用即可,并且捆绑了这些接口的NetBeans for Java EE(希望如此)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM