Spring Roo is a lightweight developer tool that makes it fast and easy to deliver instant results. Best of all, you code 100% in Java and get to reuse all your existing Java knowledge, skills and experience.
Spring Roo differs from other productivity tools by focusing on:
Read the book Getting Started with Roo written by Josh Long and Steve Mayzak.
Ken Rimple and Srini Penchikala have also written the definitive Roo reference book called Spring Roo in Action available for purchase from Manning Publications.
MVC applications with JPA are a breeze with Roo, but it also eases your journey into the next generation of technology. We already support cool features like Solr for search server integration and cloud deployment like Google App Engine. Plus we have incremental database introspection, Flex, Spring Integration and much more actively in development.
With Roo you still program everything in Java. Its innovative approach operates entirely at compile-time and is completely compatible with your IDE. Plus because there's no runtime portion, adoption is also simplified and low risk. All your Java developers will feel comfortable and be productive from day one. Roo really represents productivity without compromise.
To start with Spring Roo you need:
Depending on the version of Spring Roo you are using you must install the appropriate STS:
After downloading, unpacking, and installing Roo, try out the following steps to create an application:
mkdir hello cd hello roo roo> hint roo> project setup --topLevelPackage com.foo roo> jpa setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY roo> entity jpa --class ~.domain.Timer roo> field string --fieldName message --notNull roo> repository jpa --all --package ~.repository roo> service --all --apiPackage ~.service.api --implPackage ~.service.impl roo> web mvc setup roo> web mvc view setup --type THYMELEAF roo> web mvc controller --all --package ~.web --responseType THYMELEAF roo> quit