Sun Java System Web Server 6.1 SP11 Administrator's Guide

Example

HttpServerAdmin create -r -external -jndiname 
"testexternalresource" -jndilookupname "rmiconverter" -restype 
"samples.rmi.simple.ejb.ConverterHome" -factoryclass 
"com.sun.jndi.cosnaming.CNCtxFactory" -property 
"java.naming.provider.url=iiop://localhost:3700" -d 
/opt/Sun/S1WS6.1 -sinst testinstance