Pages

Saturday, November 16, 2013

Beginning EJB3 with JBoss and MySQL

Here, I am going to show how to begin with EJB and deploy in JBoss server. For this example, I am using MySQL database.

Prerequisites for this example:
- JBoss
- Eclipse
- MySQL

Monday, November 11, 2013

Spring and Drools

Let us assume that we have dozens of rules that we have to implement, divide into some classes, subclasses, abstractions and of course unit test. This can be difficult and time consuming to both write and support. There are many ways of dealing with this problem and following example leverages one of them - JBoss Drools. Drools is a library specifically created for such purposes like implementing rules. It contains a rule engine that can process rules written using the Drools language (you can also provide rules in Excel spreadsheets! - perfect for Business side to support and management). Here, we will take a look at the way one can integrate JBoss Drools with Spring. (Reference: http://java.dzone.com/articles/drools-integration-spring-vs)

Saturday, June 22, 2013

Velocity Template with Spring

Below example demonstrates how Velocity Template can be integrated with Spring for sending emails in a given template or write the content to an XML file.
Spring Configuration:

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.