InfoQ

InfoQ

Presentation

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Recorded at:
Recorded at

Code Generation on the JVM: Writing Code that Writes Code

Presented by Hamlet D'Arcy on Mar 31, 2011 Length 01:27:38     Download: MP3
     Slides
Sections
Development
Topics
Spring ,
Groovy ,
Java ,
Dependency Injection ,
JVM Languages ,
Dynamic Languages ,
SpringSource ,
Languages ,
Tools ,
Design Pattern ,
VMWare ,
Programming ,
Agile ,
Code Generation ,
Patterns ,
SpringOne 2010 ,
Design ,
Object Oriented Design ,
Productivity ,
Companies
 

How would you like to view the presentation?

In case you are having issues watching this video, please follow these simple steps to help us investigate the issue:
1. Right click on the video player and select Copy log
2. Paste the copied information in an email to video-issue@infoq.com (clicking this link will fill in the default details in most email clients).
Note: in case your email client hasn't automatically picked up the email subject, please include in your email the URL of the video too.
3. Done.
We will investigate the issue and get back to you as soon as possible. Thanks for helping us improve our site!
Summary
Hamlet D`Arcy demonstrates some of the Groovy tools useful to increase productivity by generating code at compile time: Project Lombok and AST Transforms.

Bio
Hamlet D'Arcy is an active member of the Groovy Users of Minnesota and the Object Technology User Group, a committer on the Groovy project and CodeNarc, and a contributor on a few open source projects (including JConch and the IDEA Groovy Plugin). He blogs regularly at http://hamletdarcy.blogspot.com and can be found on Twitter as HamletDRC.

About the conference
SpringOne 2GX is a collocated event covering the entire Spring ecosystem and Groovy/Grails technologies. SpringOne 2GX is a one-of-a-kind conference for application developers, solution architects, web operations and IT teams who develop, deploy and manage business applications. This is the most important Java event of 2010, especially for anyone using Spring technologies, Groovy & Grails, or Tomcat. Whether you're building and running mission-critical business applications or designing the next killer cloud application, SpringOne 2GX will keep you up to date with the latest enterprise technology.
  • This article is part of a featured topic series on Agile and also Java
Black magic by Veggen Skrikk Posted
Re: Black magic by Steve Thompson Posted
Double checked locking by Veggen Skrikk Posted
  1. Back to top

    Black magic

    by Veggen Skrikk

    Don't like Roo. As you said yourself, it's magic, and it's not a compliment.
    You know how .Net has partial classes? Well, there's a reason Java doesn't have that. Splitting the same class into multiple files is ewwww.

    Groovy, on the other hand, is mostly cool.

    P.S.
    You make that "tsk" sound way too often close to the mic, so it's sort of annoying.

  2. Back to top

    Double checked locking

    by Veggen Skrikk

    Double checked locking you used is not a good idea.
    Here's why: www.javacodegeeks.com/2011/03/dreaded-double-ch...

  3. Back to top

    Re: Black magic

    by Steve Thompson

    You know how .Net has partial classes? Well, there's a reason Java doesn't have that. Splitting the same class into multiple files is ewwww.


    'Ewwww' meaning what, exactly?

    As someone who has been creating tools that generate .Net source code, partials are a tremendously useful feature, as the language designers anticipated. The fact that they don't exist in Java makes it much more difficult for me to add the same value in that language. I think it is a real shame that people still limit their way of thinking about the feature set that a modern language should have to a language (Java in this case) that has barely changed in the last half decade or more.