How to create a Java Servlet application in IntelliJ IDEA Community Edition with Java EE 7 and Glassfish 4?

I want to create a Java servlet. I know nothing about the Java ecosystem, except for the tiny part of the Java language.

I already had JDK 1.8.0_65 on my machine and JRE 6.

I looked through this article . He said that I can use Glassfish as an application server. Java 7 EE ships with Glashfish 4.

So, I went to this page and downloaded the Java Platform, Enterprise Edition 7 SDK Update 2 for Windows, I am running 64-bit Windows 7 Home Premium. Currently loading 128 MB.

To install it, I looked through the very useless instructions on this web page . This did not help me because there is almost nothing on this page except: please unzip your download and then ??? and then make a profit.

But this video helped me. Here is what I did.

I unzipped the folder and put the uncompressed folder in the % Program Files% \ Java folder . Then I ran the % Program Files% \ Java \ java_ee_sdk-7u1 \ glassfish4 \ glassfish \ bin \ startserv.bat file and looked at the URL Url http: // localhost: 4848 and the Glassfish console started just fine.

IntelliJ IDEA Community Edition 2016.2.1 IDE, , .

Java Enterprise, . .

enter image description here

? -, .

: , IntelliJ IDEA Ultimate Edition, . , IntelliJ IDEA?

+5
4

IntelliJ IDEA Comunity Edition Java Enterprise, Ultimate Edition ( IntelliJ IDEA). IDE Eclipse, Netbeans ..

+4

Netbeans - , . netbeans Java EE, . , , , / Netbeans.

Netbeans/ oracle. https://docs.oracle.com/javaee/7/tutorial/usingexamples001.htm

+1

, Intellij , . Maven -. . , , . - . , , NetBeans. .

0

No, you cannot create enterprise applications in the intellij community, but you can run servlets using the google appengine in the intellij community. I recommend you read this post.

0
source

Source: https://habr.com/ru/post/1651998/


All Articles