java multiple owner example