File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Groovy and the fly likes Ratpack for Groovy browser apps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Ratpack for Groovy browser apps" Watch "Ratpack for Groovy browser apps" New topic

Ratpack for Groovy browser apps

Jim (James Paul) White

Joined: May 28, 2006
Posts: 7
Howdy Ken!

I think the message of your book is spot on. My pitch line for Groovy is I tell folks that it is the most productive language a person who knows Java can use. I also think it has great potential for teaching programming and naturally I used it for the solutions I showed students in the class I just finished teaching on Computational Linguistics Fundamentals (

A Groovy toolkit I think Java programmers can benefit from is Ratpack ( I've used it (both the original version and the new rewrite) to do all the quickie UIs I need for exploring the data sets and output from programs I develop. While Grails is great, a lightweight app using MarkupBuilder-based pages and forms is all I usually need (since I rarely work with relational databases). Like using Spock for testing and Gradle for building, using Ratpack is a highly productive fluent(ish) way to make Java code do UI stuff.

Kenneth A. Kousen
gunslinger & author
Ranch Hand

Joined: Sep 18, 2002
Posts: 99
Ratpack is definitely a fun project, and now that Luke Daley is managing it the improvements keep coming. I also agree on how easy it is to use MarkupBuilder, as in:

That produces XML, and there's a corresponding JsonBuilder if you need JSON instead. I also like the corresponding parsers and "slurpers".

I'm happy to hear about your Computational Linguistics class and hope you had a lot of fun with it.

Kenneth A. Kousen, Ph.D. (assorted certs), President, Kousen IT, Inc.
Author of Making Java Groovy -
Burk Hufnagel
Ranch Hand

Joined: Oct 01, 2001
Posts: 814
Jim (James Paul) White wrote:A Groovy toolkit I think Java programmers can benefit from is Ratpack (

Ratpack looks very interesting - thanks for posting about it! I like Groovy and want to use it more often, and Ratpack looks like it will fill a hole for me.

Thank you,

SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
I agree. Here's the link:
subject: Ratpack for Groovy browser apps
jQuery in Action, 3rd edition