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



"Steve Richter" <srichter@xxxxxxxxxxxxx> wrote in
message news:PIEOLKFJABHFAMOFANGHGEGKDFAA.srichter@xxxxxxxxxxxxxxxx
> can an rpg proc call a java proc?

Yes

> passing all of the rpg data types as parms ( varying, packed, ds, ... )
> and receive back a return value

After a fashion.  I THINK you must use Java compatible data types.

> just as rpg can call a C proc.

No

> And the reverse, Java calling an RPG proc?

Yes, using Toolkit methods.

> And if so, is there a performance penalty?

Assuming you are refering to RPG calling Java ... the answer is: Big time.
JVM must be created for each job.  I think it's a one time hit when you make
the first java call, but I'm not 100% sure.

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.