Stuff I've learned recently…

I teach this stuff. I didn't say I could do it.

  • Home
  • About Me
  • Groovy
  • Java
  • Kotlin
  • NFJS
  • Teaching
  • Elvis carried away by spaceships

    I love teaching Groovy to existing Java developers, because they have such a hard time holding back Tears Of Joy when they see how much easier life can be. Today, though, I did a quick demo that resulted in a line of Groovy that was so amusing I had to post it here. Consider a…

    Ken Kousen

    January 13, 2012
    Groovy
    Groovy
  • Groovy StubFor magic

    I finished revising the testing chapter in Making Java Groovy (the MEAP should be updated this week), but before I leave it entirely, I want to mention a Groovy capability that is both cool and easy to use. Cool isn’t the right word, actually. I have to say that even after years of working with…

    Ken Kousen

    January 2, 2012
    Baseball, Groovy
    Groovy
  • log.rofl(‘Fun with Groovy metaprogramming’)

    Recently I saw a post by someone (I think it was @jbarnette, but it was retweeted to me) suggesting that there should be some alternate log levels, like fyi, omg, or even wtf. I thought that was pretty funny, but then it occurred to me I could probably implement them using Groovy metaprogramming. As a…

    Ken Kousen

    December 13, 2011
    Groovy
  • GroovyShellTestCase for testing Groovy scripts

    I try to keep up with developments in the Groovy and Grails worlds. I really do. I follow most of the core team members on Twitter. I listen to the Grails Podcast when I can. I go to many conferences and attend other talks when I’m not speaking. I try to follow the email lists,…

    Ken Kousen

    December 7, 2011
    Groovy
    Groovy
  • Up and Running Groovy: An O’Reilly screencast for my Manning book (wait, what?)

    Way back in the Spring of 2009, I was contacted by an editor at O’Reilly about doing a couple of “targeted video/screencasts”. This person (who is no longer there — I’d give you his name but I haven’t asked his permission yet) had the idea of getting people together in an informal setting and talking…

    Ken Kousen

    November 18, 2011
    Groovy
    Groovy
  • Converting Groovy maps to query strings

    Yesterday I was teaching a class on Groovy when I suddenly realized there was a simpler way to do something I’d been doing for years. I like showing developers how easy it is to access RESTful web services with just a couple of lines of Groovy. The process is particularly simple if all you need…

    Ken Kousen

    November 2, 2011
    Groovy
  • Groovy “tutorial” chapters added to Making Java Groovy

    One of the lessons I learned during the first 1/3 review of Making Java Groovy is there are two kinds of developers interested in the book: those who already know both Groovy and Java, and those who are only comfortable with Java. The goal all along has been to show how Groovy and Java can…

    Ken Kousen

    September 17, 2011
    Groovy
  • I think I get Spock Mocks now

    I’ve been misunderstanding a fundamental issue of Spock Mocks. That’s annoying, but probably inevitable given that I work with so many state-of-the-art, evolving API’s. If you spend enough time on the bleeding edge, sooner or later you’ll get cut. The problem is, though, I’ve been telling people something wrong for some time now, and that’s…

    Ken Kousen

    August 20, 2011
    Groovy
  • Cool Groovy aspect in Spring

    I’ve been teaching a lot of Spring framework classes lately. In one of them, we have a unit on Aspect Oriented Program (AOP) in Spring. Spring provides all the necessary infrastructure to make AOP doable. You can define aspects using annotations, and Spring will auto-generate the necessary proxies to implement them. As an example, the…

    Ken Kousen

    March 22, 2011
    Groovy, Spring
  • SOAP Web Services chapter added to MEAP

    I just added a new chapter discussing Groovy and SOAP-based web services to the Manning Early Access Program (MEAP) version of Making Java Groovy. I prepared a decent introduction for the MEAP subscribers, which I thought I would share here: “Though they’ve fallen out of favor recently, SOAP-based web services provide a perfect opportunity for…

    Ken Kousen

    February 28, 2011
    Groovy, Web Services
Previous Page
1 … 7 8 9 10 11 … 24
Next Page

About the Blog

Stuff I’ve Learned Recently chronicles my adventures in the world of teaching software development, primarily focused on Java and related languages, like Groovy and Kotlin. I also teach Spring, Android, Gradle, and more.

Popular Posts

  • I Finally Understand What MCP Is ForJune 22, 2025
  • Sure, I’ll sign your ebookMay 28, 2025
  • Waiting for Spring AI Streaming Responses in JUnit TestsMay 27, 2025

Newsletter

Subscribe to our email newsletter for a weekly dose of travel inspiration.

Proudly powered by WordPress

 

Loading Comments...