Possible Duplicate:
How do Migrate Java, Spring Project to use JNDI datasources
How to use a JBoss AS7 JNDI Datasource, from a Spring hibernate project running outside server?
I am trying to find a way to access my JBoss AS7 JNDI Data Sources out side a web application. Can someone please tell me if this can be done?