Spring 2.5 vs. EJB3.0# Java - 爪哇娇娃
g*g
1 楼
With new Spring 2.5 annotation. They now share about 90% of
functionalities and program paradigms. With Spring being more flexible,
powerful, but more verbose (still needs some XML and more configuration)
Spring is more friendly for test-driven approach as you don't need to run
the container for unit testing.
It's also said Spring may be a vendor for EJB3.1 and the gap would be
closed.
I am still disappointed at java web framework. We have more frameworks than
applications and we can't settle on
functionalities and program paradigms. With Spring being more flexible,
powerful, but more verbose (still needs some XML and more configuration)
Spring is more friendly for test-driven approach as you don't need to run
the container for unit testing.
It's also said Spring may be a vendor for EJB3.1 and the gap would be
closed.
I am still disappointed at java web framework. We have more frameworks than
applications and we can't settle on