I have the API but am new to JAVA and ILE procedures. Does anyone
have a simple example of prototyping, creating and using RPG Procedure
to execute JAVA?
any help will be appreciated.
Instead you should have a single job running a Java program that
contains your Java API. one thread of execution in this JVM should be
coded to wait on requests from on a data queue waiting for requests
from your green screen RPG app. As the java processes each data queue
request, it responds on a keyed data queue that the requesting RPG
application is waiting on. The response data queue would be keyed, most
likely, by device/job name.
Note that as demand increases you can start multiple threads working the
request data queue.
Dieter Bender
That is exactly what we are going to do. I am just having trouble
writing the program that runs within the service job.
Thanks. I will look at it.
I think the correct URL is www.bender-dv.de (a German website).
That doesn't seem to work either, at least as of this writing.
Googling for Appserver4RPG brings up this SourceForge site:
http://sourceforge.net/projects/appserver4rpg/
John
Dieter