I expect in some bank somewhere, node.js-COBOL integration really happens, but more commonly using web services (REST or SOAP). Take the legacy COBOL application, turn it into a web service, then clients like node.js can call it. Popular COBOL application frameworks – such as CICS and Tuxedo – include support for writing SOAP and REST web services in COBOL, which are generally used to add web service endpoints to existing COBOL applications.