× 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.



The RPG-module invocation is a very strong binding - you are guaranteed that
data is passed correctly between the two ends and it is very hard to
intercept the traffic.

Dataqueues move from operating system _enforced_ to convention. Anybody
with access to the queue can access and manipulate everything in the queue
which does not need much malice to hack.



-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of David Gibbs
Sent: 19. januar 2011 01:20
To: Java Programming on and around the IBM i
Subject: Re: Java class return data to calling CL program

On 1/18/2011 5:43 PM, Alan Campin wrote:
Why bother. Create an RPG module, bind it to the CLLE module and return
data
to CL. Use the language appropriate for the job. That is what ILE is for.

Using a queue gives you the flexibility of running the java code anywhere
... so it could be invoked directly by the CL program, or use the queue as a
receiver as well as a sender and have it running as a daemon (either on the
i or on another machine).

david


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-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.