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:
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:
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.
We’re rolling out Mockito and trying to raise our testability at work and I’m set to give a presentation/training session tomorrow to a few new teams. In case you don’t know, Mockito is a mock object framework for Java. It’s competitors are EasyMock, JMock, and others if you’re more familiar with those. If you haven’t seen it then you may want to check out my old post “Mockito – Pros, Cons, and Best Practices“. To prepare for my presentation I decided to record myself practicing my material and post it on youtube. Enjoy!
The first screencast is about creating mock objects and stubbing behavior. These are the absolute basics of mocking.
The second screencast is about verifying behavior, or verifying side effects, using Mockito. This is a little more advanced but still an essential API in working with Mockito. YouTube reports this video as 13 minutes long, but don’t worry it is only 4:45. Some quirk of YouTube.
The final screencast is about argument matchers, which add flexibility to your stub and verify phases.
I hope you enjoyed these. They could be a little more practiced, but I’m happy enough with the quality. I recorded these on Ubuntu 10.4 using recordMyDesktop and mencode to convert from .ogv to .avi.
At the last Hackergarten we came together and created two screencasts, both about projects in the Groovy ecosystem.
The first is about GroovyServ, an application that increases the startup time of Groovy scripts. It is in German, but is easy to follow along even if you don’t speak the language. You can vote for it at DZone here and watch it below:
The second is about CodeNarc, a static analysis tool for Groovy similar to FindBugs or PMD for Java. The screencast can be upvoted at DZone or watched below:
Be sure to follow the mailing list for future Hackergarten events… it would be great to have some more people come out and join us next time.