Question about installing Java EE locally?

I am a pretty experienced Java programmer who is interested in learning Java EE. Could someone tell me (or describe) how I can configure the test environment locally to start developing the application (for example, which web server should I use, the framework if it is - Spring? And so on). I work on a linux machine. I think I’ll learn much faster than reading a book or textbook. Thanks in advance.

Update: Thanks for the answers. Should I start with Spring / Hibernate, or should I familiarize myself with the basics of EE first?

0
source share
6 answers

Java EE, Java EE 6, . http://java.sun.com/javaee/ GlassFish v3, Eclipse Java EE IDE GlassFish Server Adapter. Java EE 6 http://java.sun.com/javaee/reference/code/, GlassFish ( ). .

Java EE 6 "". EJB 3.1, Servlet 3.0, JPA 2.0 (Java Persistence API, Hibernate - ), JAX-WS, JAX-RS, , JSF ( , , API Servlet 3.0 - , ... ). Spring , (, ), , Java EE 6. Spring, , Java EE, Java EE 6, . , Java EE 6 , , Spring.

+4

netbeans, - (glassfish), () .

EE .

http://netbeans.org/downloads/

hibernate .

+2

Java EE, , .

Eclipse Eclipse WebToolsPlatform (WTP) . tomcat, WTP Tomcat . jsp IDE ( , -).

+1
  • Java SE JDK.
  • Eclipse IDE Java EE
  • Apache Tomcat 6.0
  • Eclipse Workbench. "" . Rightclick > New > Server, Apache Tomcat 6.0 , Tomcat ( ) Finish.
  • ( ). Rightclick > New > Dynamic Web Project, , , Tomcat . , contextname http://example.com/contextname.

src WebContent. JSP/Servlet. , Sun Java EE II Coreservlets. , Head First Servlets JSP.

-, Tomcat "", -, Tomcat http://localhost:8080/contextname/whateverpage.jsp -.

+1

, Spring, J2EE. , , Spring.

Sun J2EE, , J2EE.

0

Java EE EJB 3, Spring. .

, Spring, /JSP-, Tomcat . , , , .

If you want Java EE and EJB, I would say Glassfish would be a good choice, as it will most likely be up-to-date, or open source JBOSS (not Red Hat for payment).

I believe IntelliJ is the best IDE on the market. I would recommend this over Eclipse.

0
source

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


All Articles