That isn't straightforward because it involves various parsing and other deployers to work together to create a DataSource instead and then bind it to JNDI. What exactly are you trying to do?
Reply to this message by going to Community
Start a new discussion in JNDI and Naming at Community