Java for Real-time Object-oriented Programming