As JeroenWyseur notes, Java EE is a fairly large space. In addition to what he said, you should try to get more detailed information about what exactly you will do: servelts and co, EJB (entity, session, beans message?) And try to familiarize yourself with this.
It should be clear to you that your code runs in a managed environment, which imposes many limitations. in order for you to understand what is happening, you must familiarize yourself with the concept of deployment. Then, if you do EJB, transaction management is important too. If you do not understand what happens when you deploy a bean or servlet, how transactions are managed, how beans are called, it will be difficult for you.
The book that helped me a lot at the time was mastering EJB, Ed Roman.
Also, getting to know RMI will help you understand EJB.
source share