Using Spring 3.1 Profiles To Achieve PaaS Portability

Spring 3.1 release introduced a much awaited feature called Profiles which allows you to register different beans in different environments. In this blog we will take a look at how we can use profiles feature to run the same application without any code change in both OpenShift Express and Cloud Foundry.

Using Hibernate SafeHtml Validator In Application Running On OpenShift Express

I use Spring Roo to create sample applications for me. Spring Roo uses JSR 303 (Bean Validation) to validate the entities for invalid values. Today I created a very simple application — a simple PasteBin clone where you can anonymously create post or share text snippets. I wanted to validate that field post should not [...]

Running Spring Java MongoDB Apps on OpenShift Express Using Spring Roo OpenShift Express Addon

Last couple of years Spring Roo has been one of my favorite tool to rapidly build Spring applications for demo, POC, and learning new technologies. With Spring Roo Cloud Foundry integration you can not only build applications rapidly but deploy to Cloud Foundry public cloud with a couple of commands. In case you are not [...]

Deploying Spring Roo MySQL Applications on JBoss AS7

Today I spend some time deploying a simple Spring Roo application on JBoss AS 7. I faced lot of issues in making Spring Roo application run on JBoss AS7. This is a step by step guide from creating Spring Roo application using Roo shell to configuring different databases like h2 and MySQL and finally making [...]