Posts

Image
Oracle Data source configuration in Jboss What is Data Source ? Data Source allow to you to manage a pool of connection to a database Data Source is handle to which database you want to connect , it is a communication between database and client or end-user Steps for creating datasource in Jboss: Check prerequisites for drivers according to database and its version. For oracle DB 11g, we need ojdbc6.jar driver.download it from here--> click We need to create a module.xml file to defile driver module for the oracle driver. The module.xml will be <module xmlns="urn:jboss:module:1.1" name="com.oracle.jdbc">   <resources>     <resource-root path="ojdbc6.jar"/>   </resources>   <dependencies>     <module name="javax.api"/>     <module name="javax.transaction.api"/>     <module name="javax.servlet.api" optional="true"/>   </depen