Migrating legacy code and applications to modern systems is risky and time-consuming, but often unavoidable. Here are seven ...