Category : spring

Of ExceptionResolvers and XMLBeans

February 18th, 2009 by stevi | 12 comments

Using a custom ExceptionResolver in Spring Web Services to insert a Detail into a SoapFault.

How to configure a secure JMS connection using Spring

September 5th, 2008 by stevi | 0

In a comment to my previous post about configuring JMS via Spring, Vikas Kadam asked about configuring a connection to a secure TIBCO EMS topic or queue. As fate would have it, the next issue I dealt with was adding this to my own application. What worked for me was using Spring’s UserCredentialsConnectionFactoryAdapter as my [...]

Simplifying Spring’s JMS configuration for JndiTemplate

August 25th, 2008 by stevi | 9 comments

I’ve spent several days, off and on, wrestling with a chicken-and-egg configuration issue.
I have an application that uses Spring 2.0 and is deployed to Tomcat 5.5. We make heavy use of Tomcat’s JNDI for configuring things like our database connections.
We’re adding JMS functionality to our application; at this point, we merely need to send events [...]

Using parent bean definitions in Spring

March 22nd, 2008 by stevi | 1 comment

This post on the JavaRanch Big Moose Saloon led me to fire up Eclipse and write some test code. The question is basically how can you use the ability to map a parent bean as part of a bean definition in Spring.
Let’s look at three classes and see how they can be mapped using Spring.

public [...]