Evolution of RPG and COBOL Legacy applications to Java