|
Hello Mike, This question would be better asked on the Java list. Java supports a Remote Method Invocation (RMI) API. It allows a Java program on one system to invoke a Java program on another system and pass objects between the programs. RMI is one of those Java APIs that is not overly complex but is not trivial either and depends on proper set up in order to work correctly. You must write Java programs to use the RMI methods. The rules for making RMI work are: 1. The class must be a subclass of the UnicastRemoteObject class. 2. The class must implement an interface that describes the public methods. 3. The interface must be a subclass of the Remote class. 4. The interface must describe each public method. 5. The interface methods must throw RemoteException. 6. An RMI registry must be running on the server. 7. An instance of the class must register with the registry. 8. The client and the server must know on which TCP port to find the registry. The various Java Redbooks discuss RMI with examples. However, RMI requires Java at both ends. If RMI is too complex or you don't want Java at the AS/400 end then you must install a remote command server on the NT box and send the appropriate incantation (e.g., java MyJavaClass) to the server. You cannot use FTP because most implementations of FTP servers so not support running host commands. Regards, Simon Coulter. -------------------------------------------------------------------- FlyByNight Software AS/400 Technical Specialists http://www.flybynight.com.au/ Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ Fax: +61 3 9419 0175 mailto: shc@flybynight.com.au \ / X ASCII Ribbon campaign against HTML E-Mail / \ --------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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 copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.