Category Archives: Java

Simple Spring MVC Part 1

Covers creating a new Spring MVC web application without Spring XML configuration files or a web.xml file. A good introduction to the Spring Web MVC framework for web applications.

Read more »

Debugging Java Deadlocks with VisualVM

Example of debugging a multi-threading deadlock in Java using VisualVM.

Read more »

Netbeans Conditional Breakpoints

Netbeans has some pretty big issues working with conditional breakpoints; a description of the issue and an easy workaround.

Read more »

No Java Runtime by Default in OSX Lion

I upgraded my work mack to OSX 10.7 Lion today, and, to my surprise, there was no Java runtime installed. When I went to launch the .jnlp from our KVM device, it alerted me that there wasn’t one installed and, if I wanted, it would find and download one for me.

Read more »

JPA and UUID Primary Keys

An example of using UUID primary keys and JPA (Java Persistence API), serializing the UUID to a byte array, and back into a UUID.

Read more »