Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring Vs. EJB

 
Nisha Bhargav
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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?

Thanks for all inputs.
 
saravanan kanda swamy
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

You can find more things in following link:

http://www.developer.com/java/ejb/article.php/10931_3500516_2

Hope this helps

Thanks and Regards,
Saravanan.K
 
Nisha Bhargav
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Saravanan for the reply. That was very helpful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic