New java implementation of the torpedo integration piece.