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



Has anybody used this concept in more than just a test program?

I was wondering what the performance is like as well as how the loading of
the JVM works.

Thanks,
Etienne

-----Original Message-----
From: David Morris [mailto:David.Morris@plumcreek.com]
Sent: Monday, February 04, 2002 5:34 PM
To: java400-l@midrange.com
Subject: Re: Sample for calling java from RPG


CL,

John Paris posted a link to the following article when I asked this
question
on the RPG mailing list:

http://archive.midrange.com/rpg400-l/index.htm

I also wrote a java utility to generate prototypes. You can download
the
source from the iSeries-toolkit
(http://iseries-toolkit.sourceforge.net)
anonymously from the project CVS server. This utility is pretty bare
bones,
but it is a lot better than nothing. It walks through a directory and
its classes
generating all possible prototypes using a homegrown naming convention.

One limitation is that your class file(s) have to be expanded and
cannot be
in a zip or jar file.

You can download the source for that utility at:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/iseries-toolkit/CVSROOT/src/j
ava/org/iseriestoolkit/rpg/Prototype.java?rev=HEAD&content-type=text/vnd.vie
wcvs-markup

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/iseries-toolkit/CVSROOT/src/j
ava/org/iseriestoolkit/util/Format.java?rev=HEAD&content-type=text/vnd.viewc
vs-markup

I don't have an example I can post here but I will try to post one
tonight
when I can get to a V5R1 system.

David Morris

>>> Chanh_Le@countrywide.com 02/04/02 03:15PM >>>
This is a multipart message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Could you let us know where are the RPGLE manual & samples for calling
java from RPGLE v5r1.


Thanks,
CL

_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


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.