Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. Going to production > Changing the default database

15.5. Changing the default database

The application server requires a database for a variety of the services that it provides. For this purpose, it comes with the Hypersonic SQL database (HSQLDB ) which is an in-memory, pure Java database. Although Hypersonic is an acceptable database for development purposes, you should replace it before going into production. And, because it’s so simple to replace, if you’re comfortable using another database such as MySQL or PostgreSQL, or if your application will make use of features of a specific database such as Oracle, you might consider replacing Hypersonic even during development.

Switching from Hypersonic to another database requires several steps. First, you have to create a database. Because this involves database-specific steps, we refer you to the documentation for your database for performing this step. When you do this, you should record the database name, user id, and password because you’ll need these in the next step.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint