Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Arkansas

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.

Local Companies

Applied Technology Group
(501) 372-2373
3201 US Highway 161
North Little, AR
Computer Consultants of Nwa Inc.
(479) 751-7171
Springdale, AR
Green Goblin Unlimited
(501) 350-4562
Little Rock, AR
Ridge Marketing Group
(501) 336-0444
Conway, AR
Infosource
(479) 787-6470
308 1st
Gravette, AR
Softwyre
(501) 734-0017
804 Edgewood
Maumelle,, AR
Hail Technologies Inc
(870) 793-2600
1086 E College St
Batesville, AR
Genesis Broadband
(501) 707-0175
5 Chowing Cv
Little Rock, AR
Q V Systems Ltd
(479) 876-5200
60 Lyndhurst Dr
Bella Vista, AR
Electrical Systems and Controls Inc
(870) 879-5615
8008 Sorrells Rd
Pine Bluff, AR

provided by: 
Originally published at Internet.com


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. And we will also show how to construct a byte stream in EBCDIC (Extended Binary Coded Decimal Interchange Code) format in a Java application.

I work on a Java application that uses sockets to communicate with the legacy system. Two threads exist, one to write to the legacy system and another to read messages from it. This document is not intended to discuss the architecture. The focus is on building the message that needs to be sent.
The message format:


Here is a sample message format that we will use in this document. Note that this is just a hypothetical message and the goal here is to study how to construct the message.

Bitmap (16 bytes) : 11110000 00000000 Data Item 1 : 6 digit integer Data Item 2 : ... ... ... Data Item 15 : .... Data Item 16 : ......

Read article at Internet.com site

Featured Local Company

Softwyre

5017340017
804 Edgewood
Maumelle,, AR

Regional Articles
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Arkadelphia AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Bella Vista AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Benton AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Bentonville AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Blytheville AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Cabot AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Conway AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 El Dorado AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Fayetteville AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Forrest City AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Fort Smith AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Harrison AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Hope AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Hot Springs National Park AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Jacksonville AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Jonesboro AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Little Rock AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Mountain Home AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 North Little Rock AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Paragould AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Pine Bluff AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Rogers AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Russellville AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Searcy AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Sherwood AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Siloam Springs AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Springdale AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Texarkana AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 Van Buren AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 West Memphis AR
- Formatting Messages in Java to Communicate with Legacy Systems, Part 1 White Hall AR

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML