> Does anyone has experience in passing a class as a parameter in java?

You can pass the name of a class ("com.foo.package.Name") as a
parameter, and then so long as the class can be found either locally
on the client, or via the ARCHIVE=___.jar tag, you can create an
instance via something like:
    new Class.forName("com.foo.package.Name");
  or
    java.beans.Beans.instantiate(null, "com.foo.package.Name");

-- 
Geoffrey S. Knauth                           http://world.std.com/~gsk

Reply via email to