Ahmad Naqibul Arefin:
You can follow the below steps to start Java EE(now it is Java EE, not J2EE):
At first, you have to learn Servlet & JSP very well. There is no way to skip these as these are very basic to Java web. And many Java web frameworks are built on these technologies.
After finishing #1, you should pick any Java web framework for starting, like JSF, Struts 2, Play! etc. You have to learn an ORM ( Hibernate should be 1st choice) framework while learning any web framework.
If you are really confident about your learning stage in #2, you are welcome to the Spring world. I am not sharing details about Spring here, but I can say you must love this world for building a better Enterprise.
There is no #4, but please note – if you are confident about your programming/software development skill and already you proved that, then you have the option to swap between #2 and #3.
Ruhul Quddus Shakkhor:
If you don’t know Java, then go to Google and search” learn java.” It’ll teach you two things: Java and Searching.
If you already know Java, search “learn Spring Framework.” First of all, Java EE is not Spring or any other framework. But Spring is more widely used these days and will get you into the industry much faster.
If you still want to learn JavaEE, google “learn java ee.” In this case, the first thing you need to learn is the difference between an application server and a servlet container because you don’t want to learn a framework thinking that you’re learning the Java EE spec!