Create DataSource using JBoss 7 JNDI and Spring -


i first time making webapp jboss server. jboss have jndi details, wondering how create datasource using in spring application context.

if has example create connection, please share it.

i put sample here.

just show way it.

<bean id="datasource" class="org.springframework.jndi.jndiobjectfactorybean">     <property name="jndiname">         <value>java:jboss/datasources/dsname</value>     </property> </bean> 

Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

php - Dynamic url re-writing using htaccess -

java - Multi-Label Document Classification -