× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Title: RE: Java to 400 messaging?

Thanks David for the explanation. I think this plan will work.

Probably I could have Java write messages to a xml file and write an RPG (called by CL) to read IFS directly and parse the xml file. This approach is more involved but the message file is now more portable.

Bruce

-----Original Message-----
From: David Gibbs <dgibbs@verticalsky.com>
To: 'JAVA400-L@midrange.com' <JAVA400-L@midrange.com>
Date: Monday, April 16, 2001 4:18 PM
Subject: RE: Java to 400 messaging?

> > My initial idea was to write a file containing the status in my Java
> > program, and have the CL program read the file and respond
> as necessary
>
> If Java code writes the message to IFS file, then CL has to
> read file in IFS?

I was going to copy the IFS file to a database file and then do a simple RCVF on it.

> If Java code writes to db2 file (jdbc is now involved), then
> Java code is less platform independent.

At it's most basic level, JDBC is completely platform independant.  There are methods to create a JDBC object that avoids hard coding of database drivers ... as long as the drivers are on the classpath, you are good to go.

david


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.