| Article: |
POJO Application Frameworks: Spring Vs. EJB 3.0 | |
| Subject: | Spring and EJB3.0. share commonality but they are not the same thing. | |
| Date: | 2005-07-07 11:32:43 | |
| From: | TS133T | |
|
EJB3.0 is still meant for distibuted computing and transaction.
|
||
Showing messages 1 through 1 of 1.
-
Spring and EJB3.0. share commonality but they are not the same thing.
2005-08-17 10:56:07 pankajtandon [View]



Altho it is interesting to read about the implementaion differences between EJB30 and Spring, to me, whether I will use EJB or Spring will depend on if my usecase needs EntityBean caching and remoting or not. As far as I can see, bean caching and remoting are the only things that Spring does not provide.
So if these 2 'sevices' are needed, then the Spring vs EJB debate in my mind will clearly move in favor of EJB. However , in other cases where caching and remoting are not an issue, I see clear benefits with Spring becasue I am not interjecting a heavy container for something I don't need.
And as far as complexity is concerned, sure, the developer will have to know more in Springland.. afterall, you are picking and choosing what you need. In EJBLand tho' you get the whole enchilada.. easier to develop.. debugging tho (when you have to step thru remote stub and generated code) is another story.
My 2c
Pankaj
be clearin the I think Spring and EJB30 can peacefully co-exist in the same environment without stepping on each other.