简体   繁体   English

安装jdk16会安装Java EE吗?

[英]will installing jdk16 install Java EE?

novice to these stuffs. 这些东西的新手。 I want to start working on Java EE. 我想开始研究Java EE。 I have jdk1.6 installed. 我已经安装了jdk1.6。 Will I have the features of Java EE? 我将拥有Java EE的功能吗? (mind: I am working on a web app, and I have like apache tomcat, ant..) (注意:我正在开发一个Web应用程序,并且我喜欢apache tomcat,ant。)

JDK is only for standard java application not enterprise applications. JDK仅适用于标准Java应用程序,不适用于企业应用程序。 However, if you have a web container such as Tomcat you will not need to install anything further and you can start develop dynamic web applications (eg Servlet and JSP ) 但是,如果您拥有诸如Tomcat类的Web容器,则无需进一步安装任何东西,并且可以开始开发动态Web应用程序(例如ServletJSP )。

If you want to develop EJB you will need application server such as JBOSS 如果要开发EJB ,则需要诸如JBOSS应用程序服务器。

Java EE is a collection of standards, like EJB, JPA, JSF and others. Java EE是诸如EJB,JPA,JSF等标准的集合。 It's bit counterintuitive, but you never get to install Java EE as a package called "javaEE.jar" or such. 这有点违反直觉,但是您永远不会将Java EE安装为名为“ javaEE.jar”之类的软件包。

In order to develop Java EE applications, you only need them to know the according APIs, without having to provide the implementations with your application. 为了开发Java EE应用程序,您只需要他们知道相应的API,而不必为您的应用程序提供实现。 The implementations are provided by multiple Java EE compliant application servers. 这些实现由多个符合Java EE的应用程序服务器提供。

The default implementation of Java EE is the Glassfish AS . Java EE的默认实现是Glassfish AS There are others like JBoss AS and Geronimo . 还有其他一些,例如JBoss ASGeronimo Here is a complete list . 这是完整的清单

Starting with Java EE 6, the specification defines a smaller subset of standards, especially for web application development, known as the Java EE Web Profile . 从Java EE 6开始,该规范定义了较小的标准子集,尤其是对于Web应用程序开发而言,称为Java EE Web Profile If you want to develop web applications exclusively, it's worth a look. 如果您想专门开发Web应用程序,那么值得一看。

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

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