Java template for paiza