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
Post a Comment