This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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.