Originally posted by Pradeep Bhat:
Does the book cover the merits of spring over EJB ?![]()
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
The main things that EJB brought to the table were declarative transactions, declarative security, and remoting...but you had to do this all within EJB's non-POJO framework. Spring brings declarative transactions to POJOs, using AOP. Acegi (a security framework based on Spring) brings declarative security to POJOs, again using Spring AOP. With regard to remoting, EJBs were accessed locally more often than not, so that may not have been a big deal. But if it is to your project, then Spring also offers several options for remoting, including RMI, Hessian/Burlap, web services, and Spring's own HttpInvoker.
Originally posted by Pradeep Bhat:
Thanks a lot.
Does the Spring framework do any kind of object pooling like the EJB container? Thanks![]()
"Ignorance is bliss"
Originally posted by Mishra Anshu:
Hi,
Is it mentioned somewhere, how to use Hibernate along with the Spring, in the book ? (I could't find it in the index.).
I hope like the other "In Action Series" books, there will be some working example followed by the concept, just touched upon.
"Ignorance is bliss"
Originally posted by Mishra Anshu:
Hi,
Is it mentioned somewhere, how to use Hibernate along with the Spring, in the book ? (I could't find it in the index.).
I hope like the other "In Action Series" books, there will be some working example followed by the concept, just touched upon.
Originally posted by Srikanth Shenoy:
Yep. As Ryan just said, Hibernate integration with Spring is pretty easy.
The book seems to cover this in less than 5 pages.
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |