Agile with Java class