This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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

Win a copy of Java 8 in Action this week in the Java 8 forum!
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
Similar Threads
EJB Vs. Spring
Is it better to wait for EJB 3.0 exam?
Spring framework book
Spring Framework
Good Book for Spring 3