Spring and EJB
Why Spring makes sense?
1. Spring keeps the framework out of the code. i.e, no framework-specific requirements on objects.
2. Spring is simpler than EJB mostly because they take a more POJO-based approach,
3. Code is not heavily dependent on the container so unit testing is easy.
You can even run some integration tests using a Spring container but not a heavier J2EE app server–unlike any app server, a Spring container takes very little time to start up.
0 Comments:
Post a Comment
<< Home