Tech Brainwave

A Road Map for Innovative Technologies

Archive for November, 2010

Tomcat Production Server – Performance Tuning

Posted by giftsam Posted on Nov - 29 - 2010

Introduction Think about this situation, you had developed an application which contains excellent layout, latest features and all the other things which relishes the application. But if it lacks in performance means, No matter what surely the application will be rejected by the customers. Customers always expect their application should have a better performance. If  [ Read More ]

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