public class EJBClient
extends java.lang.Object
| Constructor and Description |
|---|
EJBClient(java.lang.String jndiName) |
EJBClient(java.lang.String jndiName,
java.util.Properties env) |
public EJBClient(java.lang.String jndiName)
throws java.lang.Exception
java.lang.Exceptionpublic EJBClient(java.lang.String jndiName,
java.util.Properties env)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object invoke(java.lang.String methodName,
java.lang.Class[] paramClasses,
java.lang.Object[] params)
throws java.lang.Exception
methodName - the method to invoke in the target EJBparamClasses - the Class[] of method parameters the EJB needsparams - the Object[] of method parameters the EJB needsjava.lang.Exceptionpublic boolean isValid()