users@jax-rpc.java.net

static instance of a class

From: <yawningrascal_at_HOTMAIL.COM>
Date: Sun, 19 May 2002 11:49:31 -0600

Hi, what happens if I use something like

public class MyClass
{
   public static int value;
   public static MyClass BLUE = MyClass(1);
   public static MyClass RED = MyClass(2);

   public MyClass()
   {
   }

   public MyClass(int value_)
   {
      value = value_
   }

}

... is it possible for JAX-RPC /SOAP to manage such a class as parameter
 for a remote method so that I can use MyClass.BLUE?
thanx for advice, Mischa