*
The moose likes Spring and the fly likes Spring or EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring or EJB" Watch "Spring or EJB" New topic
Author

Spring or EJB

pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 316

Hello,

I'm planning to learn either Spring or EJB.
My friends are advising me to learn Spring as EJB is not much used these days.
Is it true? Do Spring + Hibernate entirely replace/ provide sufficient alternative to EJB.
Are there any disadvantages of using Spring in place of EJB?

Please advise.


Thanks,
Pramod
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

pramod talekar wrote:Hello,

I'm planning to learn either Spring or EJB.
My friends are advising me to learn Spring as EJB is not much used these days.
Is it true? Do Spring + Hibernate entirely replace/ provide sufficient alternative to EJB.
Are there any disadvantages of using Spring in place of EJB?

Please advise.


You have good friends. I would take their advice. You will find more jobs using Spring than EJB. And Yes, Spring is a complete alternative to EJB, as a matter of fact, you get a lot more benefits above just EJB with Spring. There are no disadvantages.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 316

Thanks Mark for your advice.

I got a very good link here at JavaRanch
EJB 3 vs Spring +Hibernate

I'll learn both and impress my boss ;P
Rohit Mehta
Ranch Hand

Joined: Mar 11, 2005
Posts: 79

Its ok for learning both from a impression perspective .. but I would strongly recommend learning as much modules of Spring as possible, as any new dev project would be using Spring (or there are far more chances of it) rather than EJB. Spring' wide range of Enterprise app areas support is great - its here to stay.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring or EJB
 
Similar Threads
Which shall I learn first, EJB or Framework?
EJB Market
dilemma in choosing the next cert
* Welcome Craig Walls
Can I learn spring directly without learning struts or hibernate first?