• Home
  • Events
  • About
  • Java 7 Small Language Changes Screencast

    July 14th, 2011

    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.

    If you have any issues watching the video below, then you may have better luck viewing it on the JetBrains.tv site.

    I’ve made a lot of screencasts and blog posts over the years. If you like this, then there are many ways to see the other stuff I’ve done: 

    The screencast was created with Ubuntu 10.04, PiTiVi, Audicity, gtk-RecordMyDesktop, IntelliJ IDEA, and LibreOffice. OS from top to bottom.

    Thanks for watching, and leave a comment!


    Mock Objects with Spock Screencast

    July 13th, 2011

    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.

    If you have any issues with video playback, then trying viewing it from the JBrains.tv website

    Here are some useful links to read for this webcast:

    I’ve made a lot of screencasts and blog posts over the years. If you like this, then there are many ways to see the other stuff I’ve done:

    Phew, that’s a lot of self-promotion 🙂

    The screencast was created with Ubuntu 10.04, PiTiVi, Audicity, gtk-RecordMyDesktop, IntelliJ IDEA, and LibreOffice. OS from top to bottom.

    Thanks for watching, and leave a comment!


    IntelliJ IDEA Static Analysis: Custom Rules with Structural Search & Replace

    March 29th, 2011

    Well, well, I made another screencast. This time I’m taking on IntelliJ IDEA code inspections, and writing your own static code analysis rule (and quick fix!) using Structural Search & Replace. Not bad for under 5 minutes.

    If you have any trouble viewing the video then perhaps you should watch it directly on the JetBrains site. And if you’re feeling generous, then clicky clicky to upvote at DZone.

    Check out these pages for more information on IDEA inspections: 

    Read these pages to learn more about Structural Search and Replace: 

    I’ve made a lot of screencasts and blog posts over the years. If you like this, then there are many ways to see the other stuff I’ve done: 

    Phew, that’s a lot of self-promotion 🙂

    Thanks for watching, and leave a comment! 


    Griffon MVC Groups and Event System

    March 4th, 2011

    Griffon has a strong MVC focus, and functionality is built using MVC groups. This is not a screen or a form, an MVC group is a piece of functionality, and a single form is made of MVC groups composed together. The way MVC groups talk to each other is through an event bus, rather than being coupled directly to each other.

    I created a screencast that demonstrates these concepts in just under 7 minutes. In the video, I create an app, create several MVC groups, and then wire them together with the event bus.

    If the video doesn’t play correctly, you may want to launch it from the JetBrains.tv site. Also, if you want to be nice then you can upvote this at DZone.

    Boom. Winning.

    If you like this, you can check out my other screencasts on YouTube (http://www.youtube.com/user/HamletDRC) or JetBrains.tv (http://tv.jetbrains.net/tags/hamlet)

    If you want written documentation on these topics, then please read:
    * The Griffon RefCard – http://refcardz.dzone.com/refcardz/getting-started-griffon
    * The Griffon User Guide – http://dist.codehaus.org/griffon/guide/index.html
    * The Griffon Main Site – http://griffon.codehaus.org/


    CDI Event Bus Basics Screencast

    March 2nd, 2011

    Another day another screencast. This one’s about the Event Bus that is part of CDI. Contexts and Dependency Injection is part of Java EE but available in SE using the Weld framework. This screencast shows you how to use CDI events and the event system, which is just one part of the larger CDI feature set. The screencast briefly explains the benefits of an event system and then shows how easy it is to use it from CDI.

    If it doesn’t play correctly, you may want to launch it from the JetBrains.tv site.

    You could do worse with 5 minutes of your time.

    If you like this, you can check out my other screencasts on YouTube (http://www.youtube.com/user/HamletDRC) or JetBrains.tv (http://tv.jetbrains.net/tags/hamlet)

    css.php