Tech Brainwave

A Road Map for Innovative Technologies

Archive for the ‘Spring’ Category

Spring 3.0 AOP Advice

Posted by giftsam Posted on Dec - 01 - 2010

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 ]

Categories: Java, Spring

Java based container configuration in Spring 3.0

Posted by giftsam Posted on Nov - 18 - 2010

Introduction 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 ]

Categories: Java, Spring

Spring 3.0 + JPA 2.0 using plain API DAO’s

Posted by giftsam Posted on Nov - 17 - 2010

Introduction 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 ]

Categories: Java, JDBC, Spring

Spring Application with JDBC support Using JPA

Posted by giftsam Posted on Nov - 11 - 2010

Introduction 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 ]

Categories: Java, JDBC, Spring