Tag: hamlet

This screencast demonstrates the small language changes that are part of Open JDK 7, which is available from the Open JDK website. It demonstrates multi-catch, try with resources, strings in switch statements, underscores in literals, and the diamond operator.

This screencast demonstrates how to use Spock testing specifications and Groovy for mocking and stubbing behavior in unit tests. It covers creating the mock object syntax, setting expectations, verifying and spying on results, and argument matchers. 


This screencast demonstrates how to create Spock testing specifications. It covers creating basic when/then blocks, given/when/then blocks, expect/where blocks, and data tables. It explains how to create Spock file templates and Spock Live Templates for IDEA.



This screencast demonstrates IDEA's static code analysis features and how to write your own rule using Structural Search & Replace. I'll give you a quick overview of IDEA inspections, show you how to use Structural Search, and then demonstate creating a new inspection and quick fix based on this search.

 How to create a Griffon app, how to create several MVC groups, and how to communicate between MVC groups using the Griffon event bus. All in under 7 minutes. All done live in IntelliJ IDEA.

Java EE 6 ships with CDI, Contexts and Dependency Injection, and CDI is also available in Java SE using the Weld framework. This screencast is about CDI events and the event system. It briefly explains the benefits of an event system and then shows how easy it is to use from CDI.

Event buses reduce coupling, especially in MVC applications. This screencast explains the benefits and shows how to write one in Google Web Toolkit (GWT).