To return more than one value from the method
1. use Exception ( method will treturn either excetion or return value )
public Object callMethod throws UserException
2. use composite object to return more than one Object
public ReturnObject callObject
{
ReturnObject ro = new ReturnObject();
ro.setResult( // vec , // hashtable ..... etc ) . // if the setResult
accepts Object as arguement
return ro ;
}