Java Realtime Training