Chapter 6. Using other Databases
In the previous chapters, we’ve just been using the JBossAS default datasource in our applications. This datasource is configured to use the embedded Hypersonic database instance shipped by default with the distribution. This datasource is bound to the JNDI name java:/DefaultDS
and its descriptor is named hsqldb-ds.xml
under the deploy directory
Having a database included with JBossAS is very convenient for running the server and examples out-of-the-box . However, this database is not a production quality database and as such should not be used with enterprise-class deployments. As a consequence of this JBoss Support does not provide any official support for Hypersonic.
In this chapter we will explain in details how to configure and deploy a datasource to connect JBossAS to the most popular database servers available on the market today.