In the previous post we saw how Spring managed caching via proxies. It follows a similar route to achieve transaction management in a very transparent way. Spring supports programmatic and declarative transactions. Declarative uses aspects and therefore proxies and is therefore achieved in a very transparent manner.
Search This Blog
Saturday, 29 September 2012
Thursday, 27 September 2012
Caching in Spring-2
In our previous post we saw how to use Spring and Ehcache. We did that through a lot of XML configuration. Spring also provides us with annotations to use.
Tuesday, 25 September 2012
Caching in Spring
Many a times we come upon the need for using caching in our code to improve performance. In my very first IT project we had done caching by writing our own code involving maps, generics and some get put calls. Now we know about readily available third party cache providers and Spring fortunately provides integration for several of these.
Sunday, 23 September 2012
Managing module dependency versions with Maven
When building a complex application with Maven it is normal to split the code among multiple projects. Every project has its own pom file
and we use a parent pom file to build all projects in the process generating our final build or deployment artifact.
The problem observed is that the different projects have their own dependencies.
Friday, 21 September 2012
Spring and Hibernate 2
In the previous post we saw the working of the HibernateTemplate. As discussed Spring doesn't need us to work with it. We can now directly work with the SessionFactory.
Subscribe to:
Posts (Atom)