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?
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.
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.