How can I chose a specific version of Java EE in Eclipse?

时间:2018-02-27 18:19:45

标签: eclipse java-ee java-ee-7

It's my first day with Java EE and I would like to understand:

How I can set up a Java EE 7 project? and where can I check what Java EE version I am actually using?

I downloaded the latest Eclipse for Java EE Developers (Neon) and am now trying to understand how all these parts fit together.

I ended up downloading Java Platform, Enterprise Edition 7 Web Profile SDK Update 3以及要安装的Java Platform, Enterprise Edition 7 SDK Update 3 Shell文件。

我知道提供了很多指令,但我只想设置我的Eclipse环境。

对任何帮助或资源感到高兴!

1 个答案:

答案 0 :(得分:0)

您可以按照本教程http://www.edu4java.com/en/servlet/servlet4.html的说法进行操作,但它基本上是一样的

  • 您必须创建一个新项目(动态Web项目)
  • 您选择的Facets版本将确定与
  • 对齐的Java EE规范版本
  • 选择您的应用程序服务器(我个人推荐Wildfly http://wildfly.org/,但内置的Java EE预览服务器可以自行运行Servlet)

你准备好了!