Gordon Dickens

Spring 3.1 – Constructor Namespace

Spring Namespaces Spring provides several namespaces to simplify XML configuration, such as jdbc, tx, aop, etc. We Spring developers are already familiar with the required beans namespace. Spring Namespaces are defined at the top of the XML file. Here we define the namespaces we need to use, and reference the schema (XSD) that validates the … Read More

Spring 3.1 – Environment Profiles

Spring 3.1 Environment Profiles Profiles Spring 3.1 now includes support for the long awaited environment aware feature called profiles. Now we can activate profiles in our application, which allows us to define beans by deployment regions, such as “dev”, “qa”, “production”, “cloud”, etc. We also can use this feature for other purposes: defining profiles for … Read More

What is in my Spring Context?

When we are learning Spring, there are times we are not sure which beans are in the Spring context. Especially when we use convenient features of Spring 3 such as or . As developers, we want to inspect the classes that are automatically registered providing the opportunity to look at the source code and javadocs … Read More

What's Coming in Spring 3.1

Spring 3.1.0 M1 is expected to be released on Feb 10, 2011. There are many exciting new features expected for the final release which is scheduled for June 2011. Environment Profiles Many times we want separate configuration for different environments such as development, qa, production. Also, we may want to provide different bean configuration for … Read More

Sending Beans as XML with JmsTemplate

Introduction We often want to send XML via web services. We may already have the schema or annotated JAXB2 classes configured in our application. What if we want to send the same format via JMS? By default Spring JMS is configured to send & receive objects serialized. How can we switch to using JAXB2 (or … Read More

Enterprise Integration with Spring Training

Are you a Spring Developer? Do you have Enterprise solutions to develop or architect? Chariot Solutions, a Spring Training Partner and Philadelphia leader in Spring Training, Mentoring and Consulting can help you take your Spring skills to the next level – Enterprise Integration! There are many Spring developers who have learned by experimenting, reading documentation … Read More