Archive for October 2010

    A SpringOne2GX Chrestomathy

    October 26, 2010 12:18 AM

    As a largely developer-oriented software conference, I didn’t really know what to expect from last week’s SpringOne2GX in Chicago. Honestly, I was prepared to sit through several bone-dry, monotonous technical dissertations. But, as Tim Berglund launched into his excellent “Grails in the Real World” session, my concerns faded quickly. This was the first time I’d seen Tim in action, and his blend of high-energy charisma and impressive Grails expertise was an easy highlight of the conference.

    posted by Mark Daugherty

    Groovy + JSON, in an OSGi container?

    October 22, 2010 8:44 PM

    Very specific usage, yes, but I needed it for a custom script in a Day CQ5 project. The popular JSON-lib library has integrated Groovy support, but devolves into dependency hell when attempting to load into an OSGi container. Rather than plunge myself into a minor nightmare, I instead opted for the Jackson JSON Processor, which contains the necessary bundle metadata, but no built-in Groovy support. HOWEVER, their ObjectMapper class can bind a JSON string to a Map, which allows me to harness the beauty of Groovy map navigation. Behold.

    posted by Mark Daugherty

    Predicting CQ5 Performance

    October 18, 2010 10:03 AM

    Day’s CQ5.3 has been out for about 9 months and recently Day released a performance pack that rolls up 60 previously released patches having to do with performance. Memory leaks, thread deadlocks and fixes like “do not auto-expand tree nodes” comprise the bulk of the improvements. How can one know if these improvements — or any other performance tuning changes — will have a significant effect on users’ experience?  One needs a meter. Day recommends a number of tools to assist in this,  documenting in some detail how to use JConsole and VisualVM.  JMeter is also mentioned but not expanded upon. Here I’ll provide some details as to how it can be setup and used for a “real life” load test and stress testing.

    posted by Mike Motherway
Top