Sun Java System Web Server 6.1 SP11 Administrator's Guide

Example

HttpServerAdmin create -r -custom -jndiname "testcustomresource" 
-resourcetype "java.lang.String" -factoryclass 
"com.mycom.test.StringFactory" -d /opt/Sun/S1WS6.1 -sinst 
testinstance