File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring or EJB

 
pramod talekar
Ranch Hand
Posts: 323
Eclipse IDE Java Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
pramod talekar
Ranch Hand
Posts: 323
Eclipse IDE Java Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 79
Chrome Eclipse IDE Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic