re: "add a default timeout,"
I'm not really sure what you mean. The code itself has a hard coded default timeout of 30 minutes. If you set the "timeout" parameter, that value becomes the timeout value for all invocations.
----------------
Hi, about this, a litter bit confuse, in my testing, if not set "timeout" parameter, my ejb client will stick be there always if unplug network of ejb server machine when ejb server on processing ejb call.
so it seems NO default timeout .
another question is: if add "timeout" parameter, except EJB call, any other jboss services will get impact? (i.e. any other jboss components are based on Remoting)