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



Just curious, what are your reasons for not calling RPG from Java?  I have a
Servlet in production calling an RPG program with PCML as the intermediary,
and it is very very fast.

I agree that calling Java from RPG is pretty much useless unless it is a
batch process or if you have a huge machine.  People will tell you to use a
data queue or something similar, but that means you most likely need to
write your Java interface so it can run off of a completely validated data
queue record (meaning you don't collaborate with all the different methods
in a Java class).



Aaron Bartell

-----Original Message-----
From: java400-l-bounces+albartell=taylorcorp.com@xxxxxxxxxxxx
[mailto:java400-l-bounces+albartell=taylorcorp.com@xxxxxxxxxxxx]On
Behalf Of Dieter Bender
Sent: Monday, January 12, 2004 11:08 AM
To: Java Programming on and around the iSeries / AS400
Subject: Re: starting JVM is slow


Hi,

IMHO best practice is: not to call java from RPG and vice versa. 

Dieter Bender

On Montag, 12. Januar 2004 17:35, Ashish Kulkarni wrote:
> Hi
> I am calling Java program from RPG, and for the first
> time it is very slow, as it has to start the JVM etc,
> is there a way to imporve performance , what are the
> best practice to call java from RPG,
>
> Ashish
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> http://hotjobs.sweepstakes.yahoo.com/signingbonus
> _______________________________________________
> This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
> mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.

-- 
mfG

Dieter Bender


DV-Beratung Dieter Bender
Wetzlarerstr. 25
35435 Wettenberg
Tel. +49 641 9805855
Fax +49 641 9805856
www.bender-dv.de
eMail dieter.bender@xxxxxxxxxxxx

_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
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-Ups:

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.