• Post Reply Bookmark Topic Watch Topic
  • New Topic

Remote Java call from AS/400  RSS feed

 
Dan O'Leary
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone know if I can call a Java class on a pc from an AS/400 - either CL or RPG?
I've tried using RUNRMTCMD without success - I'm beginning to think that RUNRMTCMD works only for remote AS400's rather than pc's etc ....
Dan
 
Jon Strayer
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried RMI?
 
Graham Mead
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
When we had to do this we used Sockets with a java thread on the PC listening on a specific port and used the supplied AS400 API's.to connect from CL/RPG (RMI uses sockets under the covers but this way is a bit quicker)
This link might be a good starting point
http://www-919.ibm.com/developer/java/documents/jcv4r5.html
Good luck
Graham
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!