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.