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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -