Hi Chris,

The other alternative generally agreed upon by people who've Been There
after looking at JNI and its general grief, is to use messaging (which I
prefer) or data queues to handle communication between Java and other
programs. To date (since 1997), I've never had to use JNI, and I don't
expect to. In your case, you'd probably have to give up the many advantages
of asynchronous messaging, but you'd still save yourself a lot of (continuing) issues.

IMO, etc.


Joe Sam

Joe Sam Shirah - http://www.conceptgo.com
conceptGO - Consulting/Development/Outsourcing
Java Filter Forum: http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International? http://www.jguru.com/faq/I18N
Que Java400? http://www.jguru.com/faq/Java400

----- Original Message ----- From: "James Perkins" <jrperkinsjr@xxxxxxxxx>
To: "Java Programming on and around the iSeries / AS400"
<java400-l@xxxxxxxxxxxx>
Sent: Monday, August 24, 2009 2:37 PM
Subject: Re: Help calling java from RPG


Ah, I see where you are going. I think a good model is a Java front end
with
an RPG backend. You can easily call RPG programs using the Toolbox.

That being said, I've only played with it. I don't actually get to put
this
kind of process together very often.
--
James R. Perkins
http://twitter.com/the_jamezp


On Mon, Aug 24, 2009 at 11:06, Chris Beck <CBeck@xxxxxxxxxxxx> wrote:

Well at this point it is just a Proof of concept, but we would like to
encapsulate our database activity in one place that we can be call from
anywhere. We currently have a lot of RPG and PHP code, but as a future
direction we are looking at Java so we were thinging this may be a good
place to start. I welcome any thoughts as to why or why not this is a
good
idea.

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

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.