My intent is to learn Java EE so when I start a project in netbeans, I can choose from Java EE and Java Web. The problem is, that I don't fully understand what is the difference between these two and which one to choose. I have some basics on JSP, JSF, Servlets. I guess all server side stuff is enterprise. So what are extra features of Java EE compared to Java Web?
In NetBeans, java web refers to simple java web applications that can run in a light-weight container like Tomcat or Jetty. J2EE is intended to be run in a full Application Server such as Glassfish, and contains java web components, EJBs and JPA ORM. If you're a novice and want to start with easy stuff the JavaWeb applications may be better for you. Here's a write up from NetBeans: https://netbeans.org/kb/trails/java-ee.html
Both concepts are imprecisely used but ... OK, roughly speaking: Java EE is something broader than Java web. If you intend to use only technologies which a simple web container implementation (e.g. Tomcat) provides, then you're after a Java web project. If you intend to use additional technologies (say EJBs, or other EE technologies) then you need a full blown Java EE server (e.g. JBoss/WildFly). So I guess in your case you just need a Java web project.
For a full list of the Java EE technologies, see here:
http://www.oracle.com/technetwork/java/javaee/tech/index.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With