RE: Jon Tirsen’s “Undo in AspectJ”, and Compensating Transactions Feeling Groovy again
Apr 26

Howard boils the ocean. Use GroovyMarkup! :)

Groovy, Tech Add comments

Howard is trying to boil the ocean :)

Mate, I think that going with YAML is a good idea…. or GroovyMarkup

Your markup:

module (id=foo.bar.baz version=”1.0.0″)
{
service-point (id=Startup interface=java.lang.Runnable)
{
create-object (class=foo.bar.baz.StartupImpl);
}
}

looks a lot like the following GroovyMarkup:

someBuilder.module (id:’foo.bar.baz’, version:’1.0.0′) {
service-point (id:’Startup’ interface:’java.lang.Runnable’) {
create-object (class:’foo.bar.baz.StartupImpl’)
}
}

:)

One Response to “Howard boils the ocean. Use GroovyMarkup! :)”

  1. Dion Says:

    You are right about the line-precise reporting.

    It would be uber-cool to use AOP to take care of the cross cutting concern. Imagine if you could strap on line-precise errors to apps via aspects. Hmm.

    Dion

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: What are the first four letters in the word British?

Loading...