Thursday, June 4, 2009

JavaOne day Two

Moscone is getting a funky air. That of thousands and thousands of java programmers shuffling around in the morelockian tunnels. The suits are up in the hotel suits cutting deals. we hope.

onward!

  • Extream GWT by David Geary. You know, he wrote the book.
    His website, coolandusefulgwt.com, has tons of examples.
    He dashed through a set of examples with a wry style. One of his examples is of a drag and drop framework in about 350 lines of code. Another example was rather bread-and-butter; jdbc and rpc stuff, but for some reason the example db was populated with the very small towns surrounding the absence-of-town where I grew up. That was just odd. I mean, Castile NY?
    This presentation was quite professional. It had the desired effect of lowering the percieved barrier and inspiring to action.

  • JavaFX in Action by Mike the Canoo guy. yes I did change my schedule around.
    This entertaining chat was peppered with usage insights and mild grumbles about the rapid changes JavaFX went through just before JavaOne.
    (His complaint was echoed in just about all the other JavaFX talks I've seen - Sun broke the demo code of their presenters just a day or two before JavaOne. "Fail Fast!")
    JavaFX started off in Sun Labs as a language called 3F - Form Follows Function. Apparently after a few internal demos it recieved Uplift to JavaFX.
    Mike gave an hands on live demo of the Photoshop to JavaFX asset export. As he did so he gave out some practical hints, such as "Do NOT rename any layers after this first round trip - the IDs are a contract between your designers and your developers." He had plenty of time to comment as he clearly was not a Photoshop user... pleasant self-deprecating jokes through out.
    This export and prototype in JavaFX model has legs. I guess the Adobe Flex world has this kind of flow just built in, hmm?
    Mike mentions that JavaFX has damn few widgets, and only a few 'multimedia' widgets. That there will be a lot of hand noodling to extend these.
    On the other hand there is data binding - this alone is a big lure for his team.
    He gave a good explanation of remote calls and the impact on the event dispatch thread (EDT), leading to a talk on the JavaFX equiv of invokeLater.
    A good talk. The Canoo team seems like a fun group.


  • Groovy 1.6 by Mister Groovy Himself
    I dragged Xinlei to this - I think she would find Groovy to her liking and that it can have a place in the Stanford Digital Repositories back end pipeline (s).
    Mister Groovy gave a great intro by deconstructing a Java beans app down to a groovy script, element by element. Xinlei's ribs were sore by the end as I kept poking her with my elbow - 'see... see...' poor woman.

  • JFugue and Log4JFugue
    A bit of fun.
    These guys wrapped the java MIDI implementation with an easier to use layer. This allows statements such as player.play("C A C") to play those notes. If you've ever done any MIDI programming outside of Max or PD - say in a line based language, you know it's a giant mess to set up.
    JFugue melts that away. And it is a bit idiosyncratic.
    MIDI gets a bad rap by casual users. If you want to see what MIDI can really do you have to start by upgrading your OS's MIDI services with better samples or whatnot. This talk presented a sensible series upgrades.
    Now Log4JFugue. ha. How about feeding your log files into something which makes music based on the log content? Your ears ( sadly not mine so much any more ) are great at distinguishing fine details in complexity. you can background your log reviews!
    The Log4Jfugue people gave a fun demo where application-level service requests and releases were mapped to bass drum and snare, and service interruptions to cymbal crashes. They did some basic time mapping and let it rip. "Service Normal" running is heard as a steady-ish beat with some swing. However once the service starts backing up it's immediately clear that something is up.
    Then they used Log4J's port sending ability to stream the log data to another computer for audio presentation in real time.
    Nice.
    Julian at Stanford could stream this to his iPhone and just listen in the background for Sakai problems...

  • JavaFX + Groovy == Beauty
    Excellent live demos of polyglot programming by another member of the Canoo team. I apologize for being impressed and tired during this talk. My notes are rather scattery: "Cool" "How is he going to tie that into swing?" etc. sigh.
    When the presentation is available online I'll cast in a link.


ach, I am running late - more expansion later!

No comments: