Introduction Abbrevation of Spring AOP is Aspect-oriented programming, Action taken by an aspect at a particular join point is known as Spring AOP advice. To say simple, Spring models an advise as an interceptor and maintains a chain of interceptors by adding functionalities before or after the method execution. In this article, the various types [ Read More ]
Archive for the ‘Spring’ Category
Java based container configuration in Spring 3.0
Posted on Nov - 18 - 2010Introduction In Spring 3.0, the IOC container is configured by two ways, the first way is to configure the spring beans by an “XML file” and the second way is to configure the spring beans through the “Java based configuration” by using @Configuration annotation. Now in this article, we are going to learn how to [ Read More ]
Spring 3.0 + JPA 2.0 using plain API DAO’s
Posted on Nov - 17 - 2010Introduction In my previous post, I have wrote an article about “Spring application with JDBC support” using the Spring class “JpaTemplate” to access an EntityManager. But while pondering the net, I came to know that spring also offers an extensive support for plain API DAO’s. Eventually I understand, the standard way to handle JPA in [ Read More ]
Spring Application with JDBC support Using JPA
Posted on Nov - 11 - 2010Introduction Spring framework simplifies the development of enterprise applications in Java technologies. In this article, we shall learn how to develop a sample application using Spring3.04 and JPA2.0. For the SpringDao and JDBC support we shall use a class named “JpaTemplate”. It can be used within a DAO implementation via direct instantiation with a datasource [ Read More ]