• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Spring or EJB

 
Ranch Hand
Posts: 367
Eclipse IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 367
Eclipse IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 79
Eclipse IDE Spring Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
F is for finger. Can you stick your finger in your nose? Doesn't that feel nice? Now try this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic