Pages

Friday, May 3, 2013

XML to Java Conversion with Smooks

Here is a simple example of XML to Java Conversion with Smooks.
Enjoy!!


input-message.xml


Wednesday, May 1, 2013

Login page for ActiveMQ using Tomcat and LDAP

ActiveMQ doesnot come with login page.But for security issues some users might want to have login page to access. So for this I have tried to create a simple login page for ActiveMQ using Tomcat and LDAP. You can use Database or Tomcat instead of LDAP.

Sunday, March 31, 2013

Spring Data Support

Introduction to Spring Data and Setting Up  
This tutorial serves as an introduction to Spring Data support. We'll also install a lightweight database Apache Derby that we'll use in subsequent tutorials. We'll learn how to start Derby in Network server mode, and how to connect and run SQL queries using the ij client tool.

Tuesday, January 31, 2012

Spring AOP

Introduction to AOP  
This video provides a brief introduction to Aspect Oriented Programming concepts.
Setting Up AOP Dependencies  
In this tutorial, we'll add the additional dependencies required for Spring AOP and we'll configure our project's class path with these dependencies.

Read from JSON file and persist into MySQL

Here is a simple example where we are reading contents of a JSON file and inserting into MySQL database. The code is dynamic so it can handle any number of columns no matter what the column name is. All you have to do is match the database column names with JSON content.

Monday, October 17, 2011

Hibernate Tutorial [Java Brains]

Hibernate is a popular open source object relational mapping tool for Java platform. It provides powerful, ultra-high performance object/relational persistence and query service for Java. Hibernate lets you develop persistent classes following common Java idiom - including association, inheritance, polymorphism, composition and the Java collections framework. The Hibernate Query Language, designed as a "minimal" object-oriented extension to SQL, provides an elegant bridge between the object and relational worlds.