After creation, the stub can be like a regular Java class. Because
it makes remote calls, it can throw more exceptions than a Java class.
In particular, it may throw protocol exceptions.
The factory can also be configured as a JNDI resource. The factory
expects to parameters: "type" and "url", corresponding to the two
arguments to create
In Resin 3.0, the above example would be configured as: