Ken Kousen
Ken Kousen
@kousenit@kousenit.org

I am a Java Champion and the author of the books “Mockito Made Clear” and “Help Your Boss Help You”, (Pragmatic Bookshelf), “Kotlin Cookbook”, (O’Reilly Media), “Modern Java Recipes” (O’Reilly Media), “Gradle Recipes for Android” (O’Reilly Media), and “Making Java Groovy” (Manning), as well as over a dozen video courses at Safari Books Online. I’m a regular member of the No Fluff, Just Stuff conference tour and have given talks all over the world. Through my company, Kousen IT, Inc, I’ve taught training courses to and worked with thousands of developers.

241 posts
8 followers
  • Additional comment about GRAILS_HOME

    Yesterday I commented on how I needed to change my GRAILS_HOME variable to point to the grails subdirectory of the grails-1.0 distribution. I did a bit more checking and discovered something interesting. I’ve been using the Windows installer for Grails. I like how it also installs links for all the JavaDoc documentation, how it includes…

  • Grails Home moved in 1.0

    Like approximately 15,000 others, I downloaded and installed Grails 1.0 final in the couple of days after it was released. To my great surprise, however, I couldn’t get it to run properly any more, especially in either Eclipse or IntelliJ IDEA. I couldn’t get either IDE to understand Grails 1.0. I kept trying to set…

  • “How Groovy Helps” presentation now available

    Last night I gave a presentation at my local CT Java User’s Group on Groovy.  Rather than present a laundry list of Groovy features, I took a somewhat different approach.  Instead, I selected three relatively small, self-contained problems that I’d worked on over the past few months and showed how using Groovy simplified my work.…

  • Simple Google Chart with Groovy

    Google has a nice little chart plotting capability at Google Chart API. It’s a web service that generates images based on supplied parameters in a URL string. I think of it as a RESTful web service, despite the fact that the return values aren’t, strictly speaking, XML. I thought I’d use it to create a…

  • All I know I learned from GinA (and DGG)

    Okay, maybe that’s an exaggeration, but I’ve been digging into Groovy in Action (GinA) and the Definitive Guide to Grails (DGG) more lately and keep finding nuggets that I apparently missed on my first few readings. (I’m trying not to be annoyed about that, btw. By this stage in my career, I know all too…

  • Looking forward to 2G X

    Saturday my RSS reader brought a message saying that registration was now open for the Groovy/Grails Experience (called 2G Experience on the website, but I like the shorthand 2GX).  Since it’s in the DC area, and I live in CT, I hesitated for a couple of hours.  After all, I’m a one-person company, so even…

  • Groovy Dates are Ranges too

    I have a Grails application that I use to keep track of training courses that I teach. For each course, I enter the start and end dates, among other information. It’s a pretty straightforward application that I’ve described here in several previous posts. I’ve gotten to the point now where I want to do more…

  • One of the best things about teaching

    I’ve been very busy teaching classes recently (The last four weeks have gone Ajax, Spring, Struts 2.0, and XML and Java) so I haven’t had much time to blog.  Every once in a while, however, I try to stop and smell the roses, such as they are. You want to know one of the best…

  • MLB playoffs from a TV Networks perspective

    When the playoffs began, there was a chance that the championship series would have involved teams from [Note: TV market size in square brackets] New York (could even have had two teams) [1] Los Angeles (more or less) [2] Chicago [3] Philadelphia [4] It turned out that the cities actually involved are Boston [7] Cleveland…

  • OO JavaScript, such as it is

    I teach Ajax on a somewhat regular basis, so it’s rather embarrassing to admit I never really understood JavaScript closures. Of course, I thought I did. Now that I’m reading Dave Crane’s Ajax in Practice book, though, I see now what I was missing before. He has wonderful examples in that book. I love it…