• 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:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

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: 17347
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic