• Home
  • Blog
  • Wiki
  • Projects
  • Contact Us






Archive for the ‘Dynamic Languages’ Category

Setting up Intellij to Debug Into Grails / Spring / Acegi 3rd Party Source

June 13th, 2010 By admin

While working on a project that made use of the Grails Acegi (Spring Security) plug-in I ran into some snags setting up my IDE so that I could debug into all the third-party source (including that of Grails, Spring and all of Spring’s dependent projects.) Read the rest of this entry »

Posted in Grails | 1 Comment »

When should we use the Grails flash ?

June 13th, 2010 By admin

Recently one of my clients asked me when it was appropriate to use the Grails flash for storage. I mumbled something about how you should use it when you needed to store some information that lives beyond the current request, but only as long as the next request. Read the rest of this entry »

Posted in Grails | No Comments »

Using HSQLDB For Testing and Debugging Grails & Spring Hibernate Applications

March 13th, 2010 By admin

This week I filled in for Andres Almiray to deliver a presentation to the first meeting of the
Silicon Valley Groovy / Grails User Group on the Yahoo campus (thanks for sponsoring us, Yahoo!)  Andres had to cancel at the last minute, but hopefully we can get him to speak sometime in the near future.   It wasn’t exactly standing room only,
but we had a good time. The presentation was on Using HSQLDB For Testing and Debugging Grails & Spring Hibernate Applications, and  is available here. (I will be
improving it as time goes by.)

Posted in Grails, Groovy | No Comments »

The Silicon Valley Groovy / Grails User Group Has Launched !

January 31st, 2010 By admin

The Silicon Valley Groovy / Grails User Group is now officially launched. We’re looking for a venue for our monthly meeting now, and would also like to hear from potential speakers. More information is available here. Read the rest of this entry »

Posted in Grails, Groovy | No Comments »

Using Class Level Metadata to Allow Controller Actions to Opt Out of a Filter’s Processing

January 5th, 2010 By admin

You will find an instance of the very handy GrailsApplication class injected into filters, plug-ins and other types of Grails components you may need to write. GrailsApplication has a method that allows you to get at the GrailsClass that wraps Grails artefacts, such as domain objects and controllers. Read the rest of this entry »

Posted in Grails | No Comments »

Use Logging Instead of println When Running Grails Integration Tests In IDEA.

January 4th, 2010 By admin

Here’s one for my fellow IDEA users. Have you ever noticed that when you run Grails integration tests within Intellij IDEA that all of the output from println’s ends up in a file called target/test-reports/plain/{name-of-test} ? Read the rest of this entry »

Posted in Grails | 1 Comment »

Slf4j Logging Enables Your Grails Apps To Avoid isDebugEnabled Code Clutter and String Creation Overhead

December 29th, 2009 By admin

Using ‘isDebugEnabled’ to wrap logging statements that involve String concatenation is standard Java best practice, especially in loops, and in cases where the objects being logged have expensive toString operations. Performance will certainly be better this way, but I always disliked having to add three lines of clutter to my code just to emit some debugging information Read the rest of this entry »

Posted in Grails | 2 Comments »

Using Log4j with Grails Apps on JBoss

December 14th, 2009 By admin

Getting Grails apps to use log4j under JBOSS won’t drive you insane if you have a simple reference application to get you started. In this post I present an example Read the rest of this entry »

Posted in Grails, Groovy | 5 Comments »

Draft of Presentation Slides and Labs for Upcoming Selenium/Grails Talk at Sacramento Groovy Users Group

November 14th, 2009 By admin

I will be presenting on the topic of Automating Selenium Browser-Based Testing  For Grails Applications at the next meeting  of the Sacramento Groovy Users Group (November 18, 2009).  Links to the power point, and a flash version of the presentation are available . Read the rest of this entry »

Posted in Grails, Groovy, Selenium | 1 Comment »

Selenium Testing Grails Apps In Continuous Integration Using the grails-selenium-rc Plug-in

November 8th, 2009 By admin

In our previous posts we published a  Maven-based solution that illustrated how to get Selenium tests running against a Grails application completely from the command line (thus enabling these tests to run in the context of a continuous integration build.) Robert Fletcher has been working on a Grails selenium plug-in that promises to do the same thing as what I previously presented with much less configuration Read the rest of this entry »

Posted in Grails, Selenium | No Comments »

« Older Entries
  • Categories

    • Build Automation
      • Maven
    • Development Environment Tricks
      • Cygwin
    • Dynamic Languages
      • Groovy
        • Grails
    • Java
    • JQuery
    • Test Automation
      • Selenium
    • Uncategorized

  • Archives

    • June 2010
    • March 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
  • Meta

    • Log in
    • RSS
    • Comments RSS
    • Valid XHTML
    • XFN
    • WP