Two Laptop Bag
The moose likes Other Application Frameworks and the fly likes Spring Vs. EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Spring Vs. EJB" Watch "Spring Vs. EJB" New topic

Spring Vs. EJB

Nisha Bhargav

Joined: May 27, 2005
Posts: 6

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

Joined: Apr 21, 2004
Posts: 33

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:

Hope this helps

Thanks and Regards,
Nisha Bhargav

Joined: May 27, 2005
Posts: 6
Thanks Saravanan for the reply. That was very helpful.
I agree. Here's the link:
subject: Spring Vs. EJB
It's not a secret anymore!