Reputation: 51
As I know with the new JBoss application server, there is 2 ways to declare datasources :
My questions are :
Thanks in advance
Upvotes: 1
Views: 81
Reputation: 4328
The best way (and safest) to add a datasource is by means of adding at first a new module for the JDBC driver, then creating a datasource which uses the JDBC driver as a module. See here how to create a datasource with JBoss AS 7
Deploying a datasource along with your application should be used for test purposes only as it is won't be manageable from the AS 7 Console/CLI this way.
Regards
Upvotes: 1