another case — a trade booking system in a top i-bank had more than 10 modules. One of them was based on IBM MQ before java api was available. All other modules were written in java.
There’s no justification to rewrite the c++ module in java. “Don’t fix something not broken.”