Spring Roo 1.1.0.M2 Released

Engineering | Ben Alex | July 16, 2010 | ...

I'm pleased to announce we've just released Spring Roo 1.1.0.M2 (download here). We've also concurrently released SpringSource Tool Suite 2.3.3.M2, which offers the latest integration with this new Spring Roo release. For production use we recommend you continue to use Spring Roo 1.0.2, although we know a very large number of people are happily using the Roo 1.1.0 development releases as well.

What's New?

So, what's included in the new Spring Roo 1.1.0 Milestone 2? Well, there's 140 fixes, improvements and enhancements since Milestone 1. Some of the highlights include:

More Add-On Discovery and Management Features

Spring Roo 1.1.0.M2 also features a large number of enhancements in preparation for the all-important add-on discovery and management features. The Roo team is highly committed to helping build a vibrant add-on ecosystem for Roo, which will benefit the many users who'd like functionality not included in the core Roo distribution.

As part of this work, Roo now automatically downloads an OBR index from our new repository, http://spring-roo-repository.springsource.org/repository.xml. As a Roo user you're unlikely to see much of the OBR infrastructure (as it just works!), but it's good to know that OBR provides Roo with an OSGi-standardised way to discover available add-ons, resolve their dependencies, download them to your Roo environment and automatically start them up. This means Roo users benefit from an industrial-strength, OSGi-standardised way to manage add-ons and we won't hit a barrier as increasingly complex add-ons are made available to the Roo community.

Roo has also extended the OBR capabilities by integrating OBR metadata directly into shell command resolution. This means if you type a command that is part of a presently uninstalled add-on, Roo will automatically suggest to you which add-on(s) can provide that command! I'm happy to acknowledge this particular feature was inspired by my use of Ubuntu, as it's tremendously useful to just type any random command and have the system inform you the one-line installation command you need to type to have that command installed.

While this new OBR support and shell command discovery is certainly very nice, we also wanted to ensure we could offer convenient add-on hosting for the Roo community. But to do this properly means we needed to carefully consider security implications.

We tackled add-on security by adding extensive PGP key management features to Roo 1.1.0.M2. These allow you to indicate exactly which developers you trust to sign software that Roo will download to your computer. Roo itself is now also PGP signed in every release. To support these capabilities we've introduced a new protocol handler called httppgp:// into Roo. This tells Roo a given HTTP URL also has a PGP armour detached signature available.

By requiring PGP signatures for all add-ons, we're able to conveniently and safely host all Roo add-ons for the community. It's up to you to decide if you trust a given PGP key, and without trusting that key, Roo will refuse to even spend time downloading the httppgp:// resource. We also implemented this architecture so we didn't need to change Apache Felix's OBR infrastructure nor force everyone to use our central add-on hosting feature. This means we benefit from future improvements to OBR in newer Felix releases, plus it's perfectly fine for you to use httppgp:// URLs in your own OBR repository.xml files. Roo's approach also means you can also use standalone PGP tools like GnuPG to perform signature-related operations to independently verify Roo's correct operation. As you can tell, I'm very happy about the new PGP OBR infrastructure (but I guess my geeky Acegi Security/Spring Security past is shining through there!).

I'll talk more about how this new infrastructure works when we announce Milestone 3, as that will incorporate the full add-on end user interface. Plus we'll also be introducing our new backend tool that helps automate add-on publication to the central repository (called RooBot). If you can't wait for the new end user interface, try the "pgp list trusted keys" command to see which keys Roo trusts by default. Also try typing "welcome property" at the Roo prompt to see how Roo advises the currently-uninstalled add-ons which provide the "welcome property" command. If you really want to see the httppgp:// infrastructure in operation, try untrusting my PGP key (pgp untrust --keyId 00B5050F) and then try installing the welcome add-on (osgi obr start --bundleSymbolicName org.springframework.samples.roo.welcome).

1.1.0 Roadmap

Despite all the neat new features in Roo 1.1.0.M2, we've also been very busy preparing other features which didn't make it into the Milestone 2 release.

One feature many people are keenly waiting for is incremental database reverse engineering. This feature request now has over 113 votes and the implementation already supports Java compilation unit lifecycle management, incremental field maintenance, composite primary keys and most relationship types (1:M, M:M, 1:1). We anticipate this feature will be included in Roo 1.1.0.M3, but if you want to live on the bleeding edge, you can experiment by building Roo from Git.

Some other interesting features we've been working on include an Op4J add-on, a very nice automatic Git add-on, and some web embedding commands. The Op4J add-on allows you to dramatically reduce the amount of code you need to write, without loosing the type safety, code assist and performance benefits of Java. The automatic Git add-on turns each Roo command you execute into an individual Git commit, which is fantastic for viewing what Roo is doing and being able to selectively rollback etc. The web embedding commands are very nice and allow you to incorporate resources like YouTube videos, SlideShare presentations, Google Maps, Flikr photos and similar media into your web views with just one Roo command (in all there are 15 different resource types currently supported, covering everything from photo sharing to finance updates and everything in between).

If you're curious about our release dates, you can track them by visiting http://tinyurl.com/rooroadmap. Of course these dates are amended as our development progresses (and dependent projects similarly amended their dates), but they give you a good indication.

Other Community News

A few other interesting announcements for the Roo community:

  • There is now a dedicated Spring Roo podcast at http://roopodcast.com/, already with two audio interviews
  • Manning are publishing a Spring Roo in Action book, which is already available via the early access program (with the first chapter being free - there's even a limited-time 40% discount if you use code "ju1540")
  • SpringOne 2GX will be featuring a number of Spring Roo sessions, so if you're in North America (or even further away!) why not come along and hear about Roo directly from the people who wrote it
  • There will also be Roo coverage at other major conferences like JavaOne and Devoxx later this year
  • You can always hear the latest Roo news by following @SpringRoo and the engineering team (Ben, Alan, Stefan) on Twitter (if you Tweet about Roo, please include @SpringRoo in your tweets so people can search for them)

We hope you enjoy this new release! Please let us know what you think via @SpringRoo or the community forums.

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all