Java module for synchronization