Kenneth Kousen

Kenneth Kousen

Author of "Making Java Groovy"


Ken Kousen is the President of Kousen IT, Inc., through which he does technical training, mentoring, and consulting in all areas of Java and XML. He is the author of the O'Reilly screencast "Up and Running Groovy", and the upcoming Manning book about Java/Groovy integration, entitled "Making Java Groovy".

He has been a tech reviewer for several books on software development. Over the past decade he's taught thousands of developers in business and industry. He is also an adjunct professor at the Rensselaer Polytechnic Institute site in Hartford, CT. His academic background includes two BS degrees from M.I.T., an MS and a Ph.D. from Princeton, and an MS in Computer Science from R.P.I.




Blog

Gr8 Gr8Conf.US Was Gr8

Posted 2013-07-25 00:24:00.0

This week I attended Gr8Conf US in Minneapolis. I did a Groovy workshop for Java developers, gave my Making Java Groovy talk, gave a talk on Grails testing, and even managed to throw in an Advanced Groovy Tips and Tricks talk at the last minute when Guimore »

A Groovy Chuck Norris Script

Posted 2013-07-19 12:56:00.0

This week I’m at UberConf (http://uberconf.com), a truly alpha-geek experience with sessions morning, afternoon, and evening. On Tuesday I did a day-long tutorial on Groovy for Java developers, which was really fumore »

Categories, old and new, and status of Making Java Groovy

Posted 2013-07-10 14:48:00.0

My book, Making Java Groovy, is almost finished. I mean, I’m done, except that I’m not. (Picture Michael Corleone in “Godfather, Part III”: “Just when I thought I was out, they pull me back imore »

Getting Insight from Data: Baseball

Posted 2012-10-24 17:21:00.0

Big Data is cited by many prognosticators as a major growth area in computer science over the next decade. While definitions of Big Data abound, the basic idea is that data is being collected as such a rate and with such volume now that traditional waysmore »

My Review of Programming Grails

Posted 2012-09-25 23:57:00.0

Originally submitted at O’Reilly Best Practices for Experienced Grails Developers Programming Grails Excellent look under the hood of Grails By Ken Kousen from Marlborough, CT on 9/25/2012   5out of 5 Pros: Accurate, Helpful examples, Emore »

Adding a license to source files

Posted 2012-07-06 16:40:00.0

A few years ago I remember seeing a blog post by a person interviewing potential new developers. He said that when the prospect featured Java prominently on their resume, he would make sure to give them a programming test that would be easy to solve in amore »

(dc..bos): Train Stations as a Groovy Range

Posted 2012-06-16 13:16:00.0

I’ve been working on a presentation about interesting features in Groovy, and I came up with an example that I like but is probably too long to do in the available time, so I thought I’d show it here. The idea is to illustrate how any class cmore »

Password authentication using Groovy

Posted 2012-06-07 21:29:00.0

This week I was at a client site that was about as locked down as any I’ve seen. Personally I find that incredibly short-sighted on the part of the company, but it’s always easier to say no, I suppose. While it was annoying enough to set up amore »

From now on, I’m calling it GroovyString

Posted 2012-05-09 00:18:00.0

I’ve been doing a lot of introductory Groovy presentations lately, and an issue keeps coming up that I feel I have to address. I’ve had to think hard about how to do this, though, because I don’t want to be misunderstood. I’m probmore »

Writing json output from a groovlet

Posted 2012-03-06 01:08:00.0

I’ve been working with groovlets for years and recently had to dig into them in some detail, and that lead me to a situation I’m simultaneously very pleased and rather horrified about. The appeal of groovlets is both their simplicity and themore »

Elvis carried away by spaceships

Posted 2012-01-13 00:25:00.0

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 pmore »

Groovy StubFor magic

Posted 2012-01-02 14:17:00.0

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 hamore »
Read More Blog Entries »

Presentations

Spock: Logical Testing for Enterprise Applications

The Spock framework brings simple, elegant testing to Java and Groovy projects. It integrates cleanly with JUnit, so Spock tests can be integrated as part of an existing test suite. Spock also includes an embedded mocking framework that can be used righmore »

Making Spring Groovy

The Spring framework has always had a friendly relationship with dynamic languages. In this presentation, we'll look at all the ways you can add Groovy to Spring to make development easier, ranging from simplifying your configuration files to deploying remore »

RESTful Groovy

The JAX-RS 2.0 specification is part of Java EE 7, but can be used now. It contains the expected annotations for the HTTP verbs (@GET, @POST, and so on) and mechanisms for retrieving variables, but only a few methods for doing hypermedia.more »

A Groovy Mullet: JavaScript in the front, Groovy in the back

Grails 2.3 makes it much easier to build RESTful web services from your domain classes, and even includes hypermedia capabilities. This presentation will demonstrate those capabilities and then add a JavaScript client-side framework like AngularJS.more »

Making Java Groovy

Groovy isn't designed to replace Java -- it just makes Java cleaner and easier to develop. This presentation will look at various tasks Java developers need to do and demonstrate ways Groovy can help.more »

Advanced Groovy Tips and Tricks

Groovy has a very easy learning curve for Java developers, so many people become Groovy users without realizing all it can do. This presentation will examine features of Groovy that can make your life easier once you're past the initial adoption stage.more »

Spock: Logical Testing for Enterprise Applications

close

Kenneth Kousen By Kenneth Kousen

The Spock framework brings simple, elegant testing to Java and Groovy projects. It integrates cleanly with JUnit, so Spock tests can be integrated as part of an existing test suite. Spock also includes an embedded mocking framework that can be used right away.



In this presentation, we'll look at several examples of Spock tests and review most of its capabilities, including mock objects and integration with Spring.


Making Spring Groovy

close

Kenneth Kousen By Kenneth Kousen

The Spring framework has always had a friendly relationship with dynamic languages. In this presentation, we'll look at all the ways you can add Groovy to Spring to make development easier, ranging from simplifying your configuration files to deploying refreshable beans to using Spock tests in the Spring test context and more.



Groovy works comfortably with existing Java infrastructure, and Spring has special capabilities designed specifically for scripting languages. The combination is very powerful and is an easy way to take advantage of Groovy code simplification.


RESTful Groovy

close

Kenneth Kousen By Kenneth Kousen

The JAX-RS 2.0 specification is part of Java EE 7, but can be used now. It contains the expected annotations for the HTTP verbs (@GET, @POST, and so on) and mechanisms for retrieving variables, but only a few methods for doing hypermedia. This presentation will review those techniques by adding both structural and transitional links to resource representations. Groovy is used to simplify the code and also to implement a MessageBodyWriter for JSON data.



In addition to simplifying the implementation classes, Groovy also supplies a RESTful client class from the HttpBuilder project. That will be used, as well as the native client implementation classes in JAX-RS 2.0, to build Spock tests for RESTful services.

Prerequisite: Some knowledge of Groovy would be helpful


A Groovy Mullet: JavaScript in the front, Groovy in the back

close

Kenneth Kousen By Kenneth Kousen

Grails 2.3 makes it much easier to build RESTful web services from your domain classes, and even includes hypermedia capabilities. This presentation will demonstrate those capabilities and then add a JavaScript client-side framework like AngularJS. The Ratpack framework will also be used as an alternative server-side implementation.



Tests and build files will be included in a GitHub repository.


Making Java Groovy

close

Kenneth Kousen By Kenneth Kousen

Groovy isn't designed to replace Java -- it just makes Java cleaner and easier to develop. This presentation will look at various tasks Java developers need to do and demonstrate ways Groovy can help.



Topics will include building and testing applications, accessing both relational and NoSQL databases, working with web services, and more.


Advanced Groovy Tips and Tricks

close

Kenneth Kousen By Kenneth Kousen

Groovy has a very easy learning curve for Java developers, so many people become Groovy users without realizing all it can do. This presentation will examine features of Groovy that can make your life easier once you're past the initial adoption stage.



Examples will include closure coercion, mixins, simple runtime metaprogramming, operator overloading, drop and take, a tour through some of the overlooked methods in the Groovy JDK, and more.

Prerequisite: Some Groovy knowledge