SPRINGONE 2GX 2012: THE SPRING, GROOVY, GRAILS, & CLOUD EVENT OF THE YEAR!


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

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, more »

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

(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 more »

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

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

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

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

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

log.rofl(‘Fun with Groovy metaprogramming’)

Posted 2011-12-12 22:03:00.0

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

GroovyShellTestCase for testing Groovy scripts

Posted 2011-12-06 22:05:00.0

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

Presentations

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 »

Testing Grails

Grails comes with extensive testing support, ranging from unit to integration to functional tests. This session will demonstrate the range of options available both natively and through testing plugins.more »

Design Patterns in Groovy

Languages that support both dynamic typing and closures radically simplify the standard design patterns. This presentation will demonstrate how many of the common patterns in Java simply vanish in Groovy, and how much simpler they are even when they remaimore »

Helping Spring with 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 »

Grokking GORM (and Hibernate)

The Grails Object Relational Mapping (GORM) API is an elegant domain specific language on top of Hibernate. To really understand how it works, you need to understand how Hibernate sees the world. This workshop will explore the behavior of GORM, from follomore »

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 databases, working with basic data structures, accessing web services, building desktop applications, and taking advantage of concurrency.


Testing Grails

close

Kenneth Kousen By Kenneth Kousen

Grails comes with extensive testing support, ranging from unit to integration to functional tests. This session will demonstrate the range of options available both natively and through testing plugins.



Topics will include testing constraints, the mock libraries for testing controllers, generating test data, the available testing annotations, and more.

Prerequisite: Some knowledge of Grails would be helpful but not assumed


Design Patterns in Groovy

close

Kenneth Kousen By Kenneth Kousen

Languages that support both dynamic typing and closures radically simplify the standard design patterns. This presentation will demonstrate how many of the common patterns in Java simply vanish in Groovy, and how much simpler they are even when they remain.



Patterns will include Adapter, Factory Method and Abstract Factory, Builder, Decorator, Singleton, Proxy, Visitor, and as many more as time allows.


Helping Spring with 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.


Grokking GORM (and Hibernate)

close

Kenneth Kousen By Kenneth Kousen

The Grails Object Relational Mapping (GORM) API is an elegant domain specific language on top of Hibernate. To really understand how it works, you need to understand how Hibernate sees the world. This workshop will explore the behavior of GORM, from following object state transitions to managing the session to fetching lazy associations and more.



While the focus will be Grails and understanding how it works, code samples will also be provided using plain Hibernate with the Spring Framework to manage the session factory and transactions. All examples will be built with Gradle and tested with both JUnit and Spock.