This is a simple Java example.