This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I have been working in Java, J2EE(Servlets, JSP, JDBC) for 5 years but new to EJB and Spring Framework both. I am planning to learn one of these two. Should I invest my time in learning EJB or learning Spring framework? What do you guys think would be the technology of the future?
EJB is specification given by JCP and Spring is a framework which gives wide varity of options. Spring is Modular you can use JDBC aspects or AOP aspects or MVC in your existing application. You can use all components that come along with the spring. Spring is an increasingly important integration technology. Moreover it helps a lot in test driven projects.