Martin Fowler suggests an alternative: the Strangler Fig Application[1].
[1] https://martinfowler.com/bliki/StranglerFigApplication.html
[1] https://martinfowler.com/bliki/StranglerFigApplication.html
The plan was that once all the code had been ported over, the Java app could just go away. I skipped over some of the details here, but this was a nice way to port the app over without feeling in a rush, and without having that big stressful "throw the giant switch" moment. Ultimately, the company decided to scrap the original app altogether and rewrite from scratch because a lot of the original app was irrelevant to the new direction we were taking... but I got about 20% of the original app ported over in a week or so.