Tag Archives: Spring Roo

SpringSource Tool Suite FAQ

Eclipse is one of the most popular IDEs for Java & Spring application development. Spring has developed the Spring IDE plugin providing developers with Spring aware tooling for our projects. SpringSource Tool Suite = {    Eclipse + SpringIDE + M2Eclipse … Continue reading

Posted in Grails, Java, OSGi, Roo, Spring, Spring Batch, Spring Framework, Spring Integration, Spring Roo | Tagged , , , , , , , , , , , , , , , , , , , , | Leave a comment

What is in my Cloud Environment?

I put together Java sample applications using Spring 3.1. Using Spring’s Environment abstractions, we can gather details about the underlying platform. See the following sample pages Jelastic: http://petclinic.jelastic.servint.net/clinic/environment Heroku: http://evening-window-9861.herokuapp.com/environment CloudBees: http://roobees.gdickens.cloudbees.net/environment Environment Bean package com.gordondickens.roobees.util; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.ReflectionToStringBuilder; … Continue reading

Posted in Cloud, CloudBees, Heroku, Jelastic, Spring, Spring Roo | Tagged , , , , , , , | Leave a comment

Configuring Spring Roo for Java 7

When creating a Roo project with the “project” command, we have the option to specify the Java Version $ roo roo> project –topLevelPackage com.gordondickens.myproj –java 6 –projectName testapp If we choose Java 7 with Roo 1.2.1, the code will not … Continue reading

Posted in AOP, AspectJ, Java, Java 7, JDK7, Maven, Roo, Spring, Spring AOP, Spring Data, Spring MVC | Tagged , , , , , , | 1 Comment

Buzzing the Cloud with CloudBees and Roo

Looking to try out CloudBees for your Spring application? Here is how you can get started quickly with CloudBees Run@Cloud platform. 05-Mar-12 – Updated for Spring Roo 1.2.1 Get a CloudBees Account Configure a MySql instance on CloudBees Build a … Continue reading

Posted in Cloud, CloudBees, Roo, Spring, Spring Roo | Tagged , , , | 6 Comments

Rocket to the Cloud Fast with Roo

Want to build a Spring 3 application FAST and run it on the Cloud? It is incredibly easy to do with Spring Roo and CloudFoundry! This post on using Postgres on CloudFoundry helped me get started, however I tried using … Continue reading

Posted in Cloud, CloudFoundry, Java, Roo, Spring, Spring Data, Spring Roo | Tagged , , , , , , , , | Leave a comment

Cleaning up Roo OSGi Bundle Repository

Having trouble with Roo bundles (or commands) not working correctly? Delete the myroodir/cache and myroodir/sts-cache directories and Roo will recreate the bundles on next Roo start. On Windows rumor has it that you can delete the AppData/Local/Temp directory. I have … Continue reading

Posted in felix, OSGi, Roo, Spring, Spring Framework, Spring Roo | Tagged , , , | Leave a comment

LogBack Logger Addon for Roo

Want faster, flexible & more robust logging? Have you looked at LogBack by the creator of Log4J yet??? Introducing the LogBack Addon for Roo Features Adds the command to the Roo shell – logback setup Creates a New File: src/main/resources/logback.xml … Continue reading

Posted in Jakarta Commons Logging, Java, Java Util Logging, Log4J, LogBack, Maven, Roo, SLF4J, Spring, Spring Roo | Tagged , , , , , , , , | Leave a comment

Configuring LogBack Logging in Spring & Spring Roo

LogBack is the more versatile logging strategy created by the same person that created log4j. Use the following steps to configure your Roo 1.1 project to use LogBack. See Also: Reasons to Switch to LogBack 1. Create a logback.xml file … Continue reading

Posted in LogBack, Logging, Maven, Roo, SLF4J, Spring Roo | Tagged , , , , , , , | 1 Comment

Using Spring 3.0 Custom Type Converter

The Trouble with Strings Data entering or leaving our application is frequently in string format (i.e. XML). As a developer, I would like a way to register custom data type converters for my business entities. Custom business data types might … Continue reading

Posted in Hibernate, JodaTime, JPA, Roo, Spring | Tagged , , , , , , , , , | 5 Comments

Troubleshooting URL Rewriting in Spring Roo

Spring Roo automatically installs URL Rewriting for your application. If we want to configure another servlet in our web.xml file, we may need make configuration changes to the urlrewrite.xml file. 1. Enable Logging Before you jump into log4j.properties file, you … Continue reading

Posted in Log4J, Roo, SLF4J, Spring, Spring Framework, Spring Roo | Tagged , , , , , , , , | Leave a comment