JAYESH PARAYALI [http://community.jboss.org/people/jayeshpk] created the 
discussion

"Standalone JNDI/Datasource"

To view the discussion, visit: http://community.jboss.org/message/582881#582881

--------------------------------------------------------------
How can I start a standalone JNDI server with a datasource programmatically?

I am able to start the naming server using the below code. How can I create a 
datasource and bind it so it can be looked up from a remote client?

        NamingBeanImpl jnpServer = new NamingBeanImpl();
        jnpServer.start();

        org.jnp.server.Main main = new org.jnp.server.Main();
        main.setNamingInfo(jnpServer);
        main.start();

Thanks for taking a look.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/582881#582881]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to