AS400 RPG Call Java on Webservice

pts.
Tags:
BEA WebLogic
Development
E-business
Hardware
Hewlett-Packard Application Server
IBM WebSphere
Servers
WAS
WAS Express
Web development tools
WebSphere Application Server
WebSphere Commerce
WebSphere Portal
WebSphere Studio
Hello, #1. Current, With V5R2, We have Java in On AS/400, RPG call Java using RUNJVA with Parameters pass from RPG to Java. We using Data Queue pass data back from Java to RPG. We plan to take Data Queue out. Using Parameters pass back from Java to RPG. In V5R2, Is RUNJVA Parameters can pass back from Java to RPG? How many ways to pass Parameters from Java to ILE? #2. We try to move Java to NT using webservice Java, How AS400 RPG call Java on NT webservice?? How to pass parameters to Java and get parameter from java on webservice to RPG?? Thanks!

Answer Wiki

Thanks. We'll let you know when a new response is added.

You cannot pass bidirectional parameters using RUNJVA. However, as of at least V5R1, you have been able to directly call Java methods from RPG. Several new D Spec keywords in RPG IV allow you to define Java classes and methods and call them directly from RPG.

This is faster than using RUNJVA, but still not as fast as RPG calling RPG.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Loscar
    Hi, The way that work better is defining a java class in RPG ILE program, with prototype. In the Eval you pass as parameters strings as long you need also you receive the answer from the java executed class: EVAL RET =javaClass(stringA, stringB) The javaClass is defined in the "D" section. I tried to give you a hint for another way to run java in ILE. I hope it helps. Carlos Penaherrera
    0 pointsBadges:
    report
  • Jeri48302J
    Hello, We get a request to move Java to NT using webservice Java, How AS400 RPG call Java on NT webservice?? How to pass parameters to Java and get parameter from java on webservice to RPG?? Thanks!
    0 pointsBadges:
    report
  • Jeri48302J
    Can ILE get Array Parms back from Java?? We need a group of data back, say: 10 sets of dealers back, Can we using Array?? Thanks! Jer
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following