Tech Brainwave

A Road Map for Innovative Technologies

You need to upgrade your Flash Player to version 10 or newer.

Tech Brainwave’s content, strongly focus on Java, JEE5 which also encompasses some other innovative technologies. If you felt the articles specified here are useful to you, don't forget to give your valuable comments.

Java – Factory Design Pattern

Posted by giftsam Posted on Jul - 10 - 2011

Introduction Factory pattern is used in the scenerio where the project contains a super class and ‘n’ number of sub-classes, In which the subclass object is created depending on the data provided. This article touches the basics of Factory Design Pattern using some sample codes that contains an abstract class named “Vechicle”, Two sub classes  [ Read More ]

Tomcat Native Library – (APR) Installation

Posted by giftsam Posted on Dec - 22 - 2010

Introduction Quite some time back, I had wrote an article about Tomcat Production Server – Performance Tuning. In that article, I had missed out an important feature “Apache Portable Runtime(APR)”, which provides superior scalability, performance and better integration with the native server technologies. So this article specifies the steps to install the tomcat native library  [ Read More ]

Apache Mina – SSL Configuration

Posted by giftsam Posted on Dec - 12 - 2010

Introduction Quite some time back, I had wrote an article to create a simple client/server application using Apache Mina 2.0.x. In that article the transaction between the client and server is unsecured.  In order to make a secured transaction between the client and the server, SSL should be configured. In this article, Let us see  [ Read More ]

Step by step tutorial to create Keystore and Truststore file

Posted by giftsam Posted on Dec - 11 - 2010

Introduction Truststore and Keystore file will be used in the JSSE to provide secured transaction between the client and server. The keytool command is used to create the key store file which contains the public/private keys and then using keystore, Create a truststore file which contains only public keys. In this article, Let us learn  [ Read More ]

Apache Mina – Simple client/Server Application

Posted by giftsam Posted on Dec - 08 - 2010

Introduction Abbrevation for Mina is ‘Multipurpose Infrastructure for Network Applications’, which is a network application framework to develop highly scalable and performant network applications. In this article, let us see how to create a simple client/server application using Apache Mina 2.0.x. Required jars Apache Mina 2.0.x jars slf4j-api.jar slf4k-jdk14.jar Server part For the server part,  [ Read More ]

What web application test tool do you use?

Posted by giftsam Posted on Dec - 04 - 2010

Testing an application plays a vital role to make the product a grand success. An application cannot be delivered to a customer before testing it throughly. Nowadays there are so many automated web application test tools available as a open source, I have assessed most of the tools used by the developers and testers in  [ Read More ]

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 ]

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 ]

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 ]

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 ]

Java code to Read an Excel file using POI

Posted by giftsam Posted on Jul - 10 - 2010

Introduction Apache POI(Poor Obfuscation Implementation) is used to access Microsoft format files and the Horrible Spreadsheet Format(HSSF) is the pure Java implementation of the Excel ‘97(-2007) file format of POI project. HSSF provides a complete Java API for creating, modifying, reading and writing an XLS file. In this article let us see how to read   [ Read More ]

Java code to write to an Excel file using POI

Posted by giftsam Posted on Jul - 09 - 2010

Introduction Apache POI(Poor Obfuscation Implementation) is used to access Microsoft format files and the Horrible Spreadsheet Format(HSSF) is the pure Java implementation of the Excel ’97(-2007) file format of POI project. HSSF provides a complete Java API for creating, modifying, reading and writing an XLS file. In this article let us see how to write  [ Read More ]