As the popularity of Java grows, the need for programmers to write instructions for older systems in the new language grows with it. Introduction A lot of new applications are being written today in Java.
Companies also have a vested interest in maintaining their legacy systems.
So there is a need for Java applications to communicate with legacy systems through messages that those systems can interpret properly. This article discusses some of the issues involved in formatting messages to be sent to a legacy system. The legacy system usually expects its messages in a rigid format. We will illustrate how such a message can be built in Java. I work on a Java application that uses sockets to communicate with the legacy system.