On Java Development

All things related to Java development, from the perspective of a caveman.

Archive for April, 2014

An Introduction to the Rational Unified Process

without comments

Introduction

This post gives a brief introduction to software development using the IBM’s Rational Unified Process.
Read the rest of this entry »

Written by admin

April 26th, 2014 at 10:03 am

Using Spring to Create Rules

without comments

Introduction

This post shows how Spring can be used to create classes that act as a rule processor or validator. The example presented is very simple but should serve to show the potential for other cases.
Read the rest of this entry »

Written by admin

April 11th, 2014 at 11:09 am

Using Partial Keys with Hibernate HQL

without comments

Introduction

This post shows how to use a partial key when the key fields are isolated as a composite key under Hibernate.
Read the rest of this entry »

Written by admin

April 10th, 2014 at 8:55 am

Posted in Hibernate

Creating a REST Service with Client

without comments

Introduction

This post shows how to create a REST service using jar-files provided by the JBoss RESTEasy project.
Read the rest of this entry »

Written by admin

April 8th, 2014 at 2:02 pm

Managing Session Timeouts

without comments

Introduction

This post shows how to manage the session timeout which is the expiration of the HTTP session after a specified period of time.
Read the rest of this entry »

Written by admin

April 7th, 2014 at 7:49 am

Posted in Uncategorized

Hibernate Transaction Coding Idiom

without comments

Introduction

This post shows the suggested form of a Hibernate transaction constructed using a try/catch/finally block.
Read the rest of this entry »

Written by admin

April 3rd, 2014 at 6:48 pm

Posted in Hibernate,Idioms

Calling RPG or CL Programs with SETLIBLEXEC

without comments

Introduction

This post shows how to call RPG and CL programs using SETLIBLEXEC which is a stored procedure residing on the iSeries (only in QGPL). SETLIBLEXEC accepts parameter values for the environment name of the library list to be used when it runs the name of the program to be called and the parameter values needed by that program.
Read the rest of this entry »

Written by admin

April 3rd, 2014 at 1:42 pm

Using ${catalina.home}

without comments

Introduction

This post shows how ${catalina.home}, which is set by the application server, can be leveraged to prevent hard-coding of paths. In the event that the application is moved to another server, which is the case when servers are upgraded, the application does not have to be modified and moved as-is.
Read the rest of this entry »

Written by admin

April 1st, 2014 at 12:20 pm

Using baseproject’s ApplicationContextManager class

without comments

Introduction

This post focuses on the ApplicationContextManager class that comes with baseproject and shows how it is used to obtain the application’s properties from a bean defined to the Spring Context.
Read the rest of this entry »

Written by admin

April 1st, 2014 at 10:13 am