What to learn - Java EE or Java?
As a beginner if you are looking for the information on selecting the topics to start with the Java programming language then this guide is for you. The question Java EE or Java always arises in the mind of a novice developer.
This guide tells you how you can start learning Java correctly. So, let's first understand about different distribution of Java framework. Here is more details:
Java distribution is in two form a) JRE and b) JDK. The JRE is the java runtime environment and used to run the Java programs. JDK is used to compile and run the Java program. So, as a programmer you will be needing the JDK.
Java EE is used to develop the enterprise Java applications. It includes JSP, Servlet, EJB etc specification. These are used to develop robust enterprise web applications.
You should first learn Java and then JEE.
Tutorials to Learn Java
Recommend the tutorial