Hi all,
 
Thanks in advance for your help.
 
Sorry if this is a duplicate post.  My work e-mail didn't work, so I'm using my personal e-mail.
 
How can I embed JBoss' naming server in my own Java application?  I've tried creating a new org.jnp.server.Main and invoking its start() method, but I get an exception.
 
Thanks.