Archive for June 2008

    Game Over, Man!

    June 23, 2008 10:25 PM

    I recently went to my local GameStop in an attempt to purchase the game: Zach & Wiki for the Wii to play with my 4 year old daughter.  I enjoy going to GameStop despite it’s name which puts two words together that conjure up memories of all the times my original Nintendo crashed on me.  They might as well be named “GameLockUp”, or “GameFreeze”.

    posted by Sten Anderson

    Groovy Builders: A Pair Programming Experience

    June 17, 2008 10:12 PM

    So I’ve been meaning to write up a post on my experience with Groovy’s Builder support.  Rather than actually do this though, I thought it would be more insightful to enclose the transcript from my latest Pair Programming session, which revolved around writing a custom Groovy Builder and integrating it into our application.

    posted by Sten Anderson

    Grails and TeamCity

    June 10, 2008 2:15 PM

    Got the opportunity last week to setup TeamCity for a Grails app I am working on. I was able to get it rolling (thanks in large part to two of my coworkers, Sten and Matt V), but it took a lot longer than I expected it would take. Although not an overly complicated process, my efforts were seriously hampered by the lack of online documentation and lack of support from JetBrains (the company who makes TeamCity). As a matter of fact, I was emailing someone from TeamCity support to get some answers to what I would consider some pretty basic configuration issues I was facing, and his response was: “We can’t solve all the problems in the world, unfortunately, as our resources are limited.” I suppose this shouldn’t be too surprising for a product that’s free, but still quite frustrating nonetheless.

    posted by Jeff Palmer

    Flex, JCR OCM (Spring), & CQ5

    June 10, 2008 12:12 AM

    InfoQ posted another article that caught my interest today. In short, it is a case study on the NASDAQ Market Replay application. It is built using Adobe AIR/Flex and Amazon S3. This happens to be very similar to the direction I’ve been wanting to take. I wanted to bring myself up to speed with Flex and I was currently working with a Day Communique (CQ) web site. So, I decided to build a small Flex front end to this web site. In this case, I did choose to add a few new selectors to existing templates and back them up with Servlets to expose the content as XML. I didn’t go with anything fancy here. It was just plain XML over HTTP. While I discussed using a separate Spring/JCR based application to do this for low level integration previously, I do think this is a fine approach if you just want to extend your web front end. I like Flex because of its native XML support. It is simply top notch. However, in this case my content was retrieved from CQ as opposed to S3. As a side note, I am currently working on a project that will use the Spring/JCR approach with Mule to copy content from the CQ media library to Amazon S3. To top it off, we’ll use a custom LinkChecker (com.day.cq.delivery.linkchecker) to rewrite the URLs that point to media library assets now in S3.

    posted by Shane Johnson

    Groovy Pretending

    June 8, 2008 8:09 PM

    A Humorous Setup groovy source file: Uh, hi compiler, I need to invoke a method on an object — the thing is, I’m not totally sure that the object has this method. groovyc: Relax, man.  No worries, I’ll just go ahead and generate some byte code for you.

    posted by Sten Anderson

    CRX, Spring, JCR API, & JAX-RS

    June 5, 2008 5:58 PM

    I have known for some time that the Spring Modules project has support for JCR integration. As it so happens, InfoQ has a nice introductory article on this very module. I have recommended to clients that future integration with CQ should revolve around direct communication with the repository itself. Well, I finally came across an opportunity to practice what I preach.

    posted by Shane Johnson

    Google Reject

    June 5, 2008 1:24 AM

    A while back I scored an in-person interview with Google, Inc.  I prepared as best I could for it beforehand (by watching the “Interviewing at Google” video).  I was intimidated and nervous for sure; here was the company that had transformed not only the landscape of the internet, but also the global economy.

    posted by Sten Anderson

    Groovy Without Grails

    June 4, 2008 12:44 AM

    me: So I’ve integrated Groovy quite nicely into my Java project. coworker: It must be a Grails project. me:  Nope!  It’s a Swing desktop application. coworker: Oh sure, makes sense, you’re probably using the excellent Groovy SwingBuilder.

    posted by Sten Anderson

    On Cloud Nine with Nimbus

    June 1, 2008 10:22 PM

     Here’s a screen shot of the Swing application that I’m currently working on: It has a nice potpourri of the older established Swing and the younger, hipper, SwingX components.  You’ve got your JTrees, JTables, JTabbedPanes, a JXEditorPane, and even a JProgressBar chugging away indeterminately in the lower-right corner.  Thanks to the”system” Look & Feel, it will fool most users into thinking that it’s a native Windows XP application.

    posted by Sten Anderson
Top