Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Overview of this book

Table of Contents (20 chapters)
JDBC 4.0 and Oracle JDeveloper for J2EE Development
Credits
About the Author
About the Reviewer
Preface

Chapter 4. Configuring JDBC in JBoss Application Server

JBoss 4.0 is an open-source application server configured to use Hypersonic Database (HSQLDB) by default. However, some Java 2 Platform Enterprise Edition (J2EE) developers would like to use databases other than Hypersonic Database to develop and deploy applications. The JBoss application server provides data source access for Enterprise Java Beans (EJB) persistence, and for J2EE applications. In this chapter, we will see how to configure JBoss to use other databases.

The JBoss 4.0 server makes use of Java Database Connectivity (JDBC) configuration files and data source files to configure the server with a database. To use the server with a database other than the default database, Hypersonic, the JDBC configuration files have to be modified and the data source file for the database has to be made available to the server. Download the JBoss 4.0 application server ZIP file from http://labs.jboss.com/jbossas/downloads and install JBoss...