Why to use Spring Framework ?
Why Spring Framework ?
It's a good alternative to java2e EJB.
Provide largest number of helper classes which makes things easier to work with.
Why not J2EE beans?
It's because of following reasons:-
1) Early version of J2EE Enterprise Java Beans were very complex because of which when Spring came into market peoples tend toward it because of its flexibility and good features.
2) J2EE EJB had multiple deployment descriptors which made it hard to work with.
3) J2EE EJB were consisting Multiple interfaces.
4) Its poor performance of entity bean made it more difficult to work with it.
All these reasons cause people's to use spring at that time which made spring popular and now even J2EE beans have good features and almost like spring it's less in used because lots of developer prefer to work with spring but it doesn't mean that now Java EJB are not good.
They are good just like spring its just difference of choice of peoples nowadays.
Nowadays Java2Ee has improvise version of Enterprise Java Bean very much like spring have.
But just due to bad reputation in past developers mostly tend to spring even though java2ee has become good.
So I can say that you can learn Java EE Ejb and Spring both its upto you what you wanna learn.
You can start with spring because it have kind of good demand in market.
Comments
Post a Comment