Dai un'occhiata al tutorial Oracle sul multithreading con Java: http://docs.oracle.com/javase/tutori...ncy/index.html