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



Hey Steve,

Haven't seen your name for a while. Do you still do any spool file
stuff ?

Your concept should work fine with a keyed data queue scenario. Another
option would be to write to a database file and poll, however I imagine
that would be more overheard than a data queue.

Our iSeries Office Integrator product works similar in concept however
we have a Windows VB application component and the iSeries talks
directly to the PC component via Windows Sockets. That would be a way to
remove the data queueing from the mix. Create a Java socket listener to
wait for an incoming socket connection from RPG.

Another option would be to compile the JT400.JAR into .Net via an open
source tool called IKVM.

This would let you write your data queue listener in VB.Net or C#.

Regards,
Richard Schoen
RJS Software Systems Inc.
"Get the information you need. Now!"
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 898-3038
Fax: (952) 898-1781
Toll Free: (888) RJSSOFT
---------------------------------


message: 1
date: Fri, 11 May 2007 11:24:09 -0400
from: "Steve Moland" <steve@xxxxxxxxxxx>
subject: PC java pgm to/from AS400 RPG pgm

I'm working on an application where a user selects something off a 5250
display file screen which drops a message into AS400 Data queue on which
a
Java app on the PC is waiting.

When the Java app sees the queue entry it takes a prepared URL from the
queue entry and launches a minimal browser. When the pieces are manually

started it seems to work pretty good and is quite fast. However that is
1
AS400 job on 1 PC.

Scaled up there will be 190 possible AS400 user jobs and 190 possible
PCs.
To handle that I planned to have Keyed data Queue so each PC will know
when
to launch the browser call.

Does that sound like it should work efficiently?

Will the fact that some of the PC's will be coming into the AS400 thru a
VPN
influence the simple logic of what I've planned.

Is there a "slicker'er" way of having the PC Java app talk to an AS400
pgm
and if so how would 190 processes times 2 know who is talking to who?
(not
using data queues that is)

I'm a Java newbie but there is an experience Java person working on the
PC
side. He's only seen pictures of ISeries boxes however.

Steve Moland
Access Paths Inc
12 Parmenter Rd Unit C4
Londonderry NH 03053
steve@xxxxxxxxxxx





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.