planetj.dataengine.webservices
Class DistributedObjectUtility

java.lang.Object
  |
  +--planetj.dataengine.webservices.DistributedObjectUtility

public class DistributedObjectUtility
extends Object

This class simulates a "Service Requester", In our case this will be Wabash National. This class makes a servlet call to Arvin Meritor's servlet (ResponseServlet). This class receives the results back and is able to work with them directly since they are serialized objects. Creation date: (11/11/02 9:17:23 AM)


Constructor Summary
DistributedObjectUtility()
          Requester constructor comment.
 
Method Summary
static Object distributeObject(DistributedContext obj, URL targetURL)
          Only allow public method to distribute IDistributedExecutableObject.
static Object distributeObject(IDistributedExecutableObject obj, URL targetURL)
          Only allow public method to distribute IDistributedExecutableObject.
static void main(String[] args)
           
static Object requestObject(URL sourceURL)
          Creation date: (1/27/2003 10:30:23 PM)
static Row requestRow(URL sourceURL)
          Must specify where to receive the Row from and where to send it to if any actions are to occur on it.
static RowCollection requestRowCollection(URL sourceURL)
          Must specify where to receive the RowCollection from and where to send it to if any actions are to occur on it.
static void webServicesTest()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedObjectUtility

public DistributedObjectUtility()
Requester constructor comment.

Method Detail

distributeObject

public static Object distributeObject(DistributedContext obj,
                                      URL targetURL)
                               throws DistributedException
Only allow public method to distribute IDistributedExecutableObject. Creation date: (1/28/2003 12:02:33 PM)

DistributedException

distributeObject

public static Object distributeObject(IDistributedExecutableObject obj,
                                      URL targetURL)
                               throws DistributedException
Only allow public method to distribute IDistributedExecutableObject. Creation date: (1/28/2003 12:02:33 PM)

DistributedException

main

public static void main(String[] args)

requestObject

public static Object requestObject(URL sourceURL)
                            throws DistributedException
Creation date: (1/27/2003 10:30:23 PM)

DistributedException

requestRow

public static Row requestRow(URL sourceURL)
                      throws DistributedException
Must specify where to receive the Row from and where to send it to if any actions are to occur on it. Creation date: (1/27/2003 10:30:23 PM)

DistributedException

requestRowCollection

public static RowCollection requestRowCollection(URL sourceURL)
                                          throws DistributedException
Must specify where to receive the RowCollection from and where to send it to if any actions are to occur on it. Creation date: (1/27/2003 10:30:23 PM)

DistributedException

webServicesTest

public static void webServicesTest()
                            throws DistributedException
DistributedException