Error: Twitter did not respond. Please wait a few minutes and refresh this page.
Category Archives: JUnit
Database Configuration with Spring 3.2 Environment Profiles This is a followup to my previous blog Spring 3.1 Environment Profiles Let’s demonstrate how to configure an application to use different databases based on configuration. The code below is using Spring JavaConfig, … Continue reading
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”, … Continue reading
Annotations are available for Spring and Java projects. I was unsuccessful in finding a single consolidated set of the annotations. So, I thought “What a great gap to fill.” However, what I thought would be a fairly simple endeavor, turned … Continue reading
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 … Continue reading
When using JUnit in Spring there are several features added that many developers are not aware of. First, if you are including the Spring Context in your tests, it becomes an Integration Test, no longer a Unit Test. 1. Default … Continue reading
Are you a Spring Developer? There are a lot of Spring developers out there, many have learned by experimenting, reading documentation and maybe code dives into an existing application or two. So, now you can put Spring Developer on your … Continue reading