Basic HTML version of Foils prepared March 26 1999

Foil 107 Simple Client

From Use of WebFlow to build Problem Solving Environments CEWES Training on WebFlow at Vicksburg -- March 9 1999. by Tom Haupt


Public class Client {
public static void main(String args[]) {
configReader config;
ORB orb = ORB.init(args, new java.util.Properties());
String masterURL = args[0];
String ref=getIORFromURL(masterURL);
org.omg.CORBA.Object obj=orb.string_to_object(ref);
WebFlowContext master=WebFlowContextHelper.narrow(obj);
WebFlowContext slave;
try {
org.omg.CORBA.Object p1,p2;
slave=WebFlowContextHelper.narrow(master.getWFServer("ntserver"));
--------> make sure that the name match slave.conf
p1 = slave.addNewModule("runEdys"); p2 = slave.addNewModule("runCasc2d");



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Mar 27 1999