This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Every web framework for java is built on JEE core web technolgies i.e Servlets and JSP.
So learn Servlets and JSP properly before learning EJB.
The learning curve would be enjoying if you start with JSE( java core which covers JDBC,RMI), Servlets,JSP and then EJB.
Happy Learning. All the Best.