|
... I don't use this "embedded Java" in RPG at all, I always put one
JVM to a
Batchjob, serving multiple RPG Clients via DataQ. IMHO this approach
has
multiple advantages:
- no startup punishment
- better scalability, than starting JVMs for many Jobs
- no need to put everything to the system classpath
I have written open Source AppServer4RPG (hosted at SourceForge) it has
a RPG
Part with a procedure fireEventP, sending a Request with a name and
Requestdata ro the prestarted JVM. You would have to write a Java
RequestHandler (for every Request Name).
In the meantime there is a complete application as example available
(ArdGate,
an universal database driver - with this you can access every database
with
embedded SQL)
D*B
Am Mittwoch 01 September 2010 16:19 schrieb Dennis Lovelady:
For years, I have been writing programs that utilize RPG's interfacewith
Java for functions like (especially) creation of spreadsheets,creation of
charts and the like. For the same years, I have found that when Javavirtually
errors occur when testing those functions (obviously due to external
influences like sunspots - not my code! ;) the interactive job is
useless to Java. Cannot start a new Java session, and cannot recoverthe
old one.a
From my experience, JBAB55C results in any attempt to use Java after
off and
failure, often accompanied by an amazing number of MCH* errors.
What do others do to clean up from this so they don't have to sign
back on every time the sun has a mild hiccup? I'm sure this issomething I
should have addressed all those years ago, but here I am now.rest."
Dennis E. Lovelady
AIM/Skype: delovelady MSN: fastcounter@xxxxxxxxxxxx
<http://www.linkedin.com/in/dennislovelady>
www.linkedin.com/in/dennislovelady --
"Always do right. This will gratify some people and astonish the
- Mark Twain
--
mfG
Dieter Bender
DV-Beratung Dieter Bender
Wetzlarerstr. 25
35435 Wettenberg
Tel. +49 641 9805855
Fax +49 641 9805856
www.bender-dv.de
eMail dBender@xxxxxxxxxxxx
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.