Archive for June, 2009

Managing legacy user login object with Spring (Part 2)

Friday, June 26th, 2009

In part 1 of this article, we discussed some alternatives to handling a user login object that is controlled by a legacy application framework outside of Spring. We also discussed some disadvantages with our approach. (more…)

Using Hibernate Validator for your Java classes

Friday, June 12th, 2009

This article discusses how to use the Hibernate Validator for your Java classes. (more…)

Managing legacy user login object with Spring (Part 1)

Sunday, June 7th, 2009

Using Spring to manage your Java beans for dependency injection is fairly straightforward, but what do you do when you want Spring to manage beans that were created outside of the Spring container? I encountered this issue on a recent project. The user login credentials were handled by a legacy system and stored in the HTTP session. (more…)

ClassNotFound errors - Hibernate 3.1 and Spring 1.2

Sunday, June 7th, 2009

I recently had a project that incorporated Hibernate and Spring. MyEclipse 5.0 was the IDE, and the app server was JBoss 4.0.4. We encountered a few problems trying to get the correct combination of Hibernate, Spring, and JBoss that would play well together. (more…)