Thanks Dieter

I have a feeling I have to take a look at ArdGate and all - I don't see a project we need it for yet, but I'm sure we will.

Vern

On 1/11/2017 8:39 AM, D*B wrote:
@Vern:
I've had only a short look to the OPs programm, if I would have to solve the problem I would do:
- install AppServer4RPG and adjust global.properties (half day, if you've done before)
put all needed jars in the lib directoryof AppServer4RPG (it will assmble the classpath automatically.
- at the RPG side: define a DS with all input parms and another DS with all outparms (another 2 hours maybe?)
- to communicate with AppServer4RPG, you have a SRVPGM with a procedure fireEventP with a proptype as following

d fireEventP PR 65535 varying
d EXTPROC('JVAGATE_fireEventP'
d action 10 value
d data 65535 value
d varying

- at the java side I would write:
-- an EventHandler (it's an interface to extend) doing the needed work in Java
-- two classes to transfer the 2 datastructures to simple Java Beans passed to the EvebtHandler and back
add the EventHandler to global.properties

Having a look to the test programm (Java) of the OP all this should be done in < 2 days.

For the POI stuff, for instance, it would be more flexible to provide step by step procedures (a little bit similar to the synchonous way) to drive the Java POI.

Dieter




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2022 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.