HNHacker News
TopNewBestAskShowJobs

amartinsn

91 karma · joined February 3, 2016

submissionscomments
amartinsn··on Lessons Learned from Software Rewrites
Our scenario looked a bit similar to yours mate!
amartinsn··on Lessons Learned from Software Rewrites
That was exactly our approach, for the old HTTP API, we kept the same contracts (URIs, response body, etc.) For the EJB one, as only one remaining client was using it, we deprioritized that, but we were going to pick the features they were using, and make the Java client point to the new API implementation, also keeping the same contract.
amartinsn··on Lessons Learned from Software Rewrites
It's an incremental rewrite. Rewrite one feature, switch everyone to use it, then destroy the old implementation. Do the same for all other features.
amartinsn··on Lessons Learned from Software Rewrites
Hey, thanks for your reply. Your line of thought is very similar to what we had. We considered refactoring the existing Java implementation. It used a really old Jersey version, with too many overengineered customizations tightened to that version. We tried to upgrade it and get rid of some of those customizations, but the system was so fragile that other parts of the system stopped working, which made that a really difficult road to drive. We wanted to simplify the design. We chose Scala and Finagle for the new stack.