Hi
I am not a Java programmere but have done some work in the past calling
java from RPG. Incidentally a technique we have abandoned in a move to
full Java.
I think what you are missing here is the object identifier which is
initialized when you construct the object
Then on method calls you need to supply this identifier as the first
parameter.
Get_string is passed a variable of type object and returns an object.
However on the call the first parameter is
that returned by the construction method.
Eg
d gobject_identifier_message...
s O
Class( *Java:
'com.ibm.jms.JMSMapMessage')
D get_string...
D PR O Class(*Java:
D 'java.lang.String')
D Extproc(*Java:
d 'com.ibm.jms.JMSMapMes
d 'getString')
D O Class(*Java:
D 'java.lang.String')
D Construct_the_JMS_publisher...
Pr O Extproc(*Java:
'fr.slib.ex.jms.JMS-
TopicPublisher':
*Constructor)
*----------------------------------------------------------
This mailing list archive is Copyright 1997-2026 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.