Oracle Database Express Edition (XE) Installation

This section describes how to download, install, and start Oracle Database Express Edition (XE) on a Windows computer.

Oracle is now offering a free release called Oracle Database Express Edition (XE), which is a great starter database for any Java JDBC developers who wants to try it on their own system.

Here is what I did to download and install Oracle Database 21c Express Edition on my Windows computer:

1. Go to Oracle Express Edition Website at https://www.oracle.com/database/technologies/appdev/xe.html.

2. Click the "Download Oracle Database XE" button, and select "Oracle Database 21c Express Edition for Windows x64" to start the download.

3. Save the downloaded file, OracleXE213_Win64.zip (1,967,615,483), to \temp folder.

4. Unzip the downloaded file to \temp\oracle folder.

5. Double click the \temp\oracle\setup.exe. The installation wizard starts. Follow instructions given by the wizard to continue.

6. Enter "HerongY@ng" as admin password, and select \local\oraclexe as the installation destination folder. You should see the following on the confirmation screen:

Destination Folder: C:\local\orablexe\
Oracle Home: C:\local\orablexe\app\oracle\product\11.2.0\server\
Oracle Base: C:\local\orablexe\
Port for 'Oracle Database Listener': 1521
Port for 'Oracle Services for Microsoft Transaction Server': 2030

7. Click "Next" to finish the installation. Oracle Database XE is a large software and it will take a long time to install.

By default, Oracle XE server will be started automatically after the installation.

To manage Oracle XE server, Click on "Start > All Programs > Oracle OraDB21Home1 > Instance Manager". You will see the default "OracleServiceXE" service running under the default "OraDB21Home1" instance.

To shutdown and start Oracle XE server, select "OracleServiceXE" service and click "Action > Shutdown|Start" menu.

Table of Contents

 About This Book

 JDBC (Java Database Connectivity) Introduction

 JDK (Java SE) Installation

 Installing and Running Java DB - Derby

 Derby (Java DB) JDBC Driver

 Derby (Java DB) JDBC DataSource Objects

 Java DB (Derby) - DML Statements

 Java DB (Derby) - ResultSet Objects of Queries

 Java DB (Derby) - PreparedStatement

 MySQL Installation on Windows

 MySQL JDBC Driver (MySQL Connector/J)

 MySQL - PreparedStatement

 MySQL - Reference Implementation of JdbcRowSet

 MySQL - JBDC CallableStatement

 MySQL CLOB (Character Large Object) - TEXT

 MySQL BLOB (Binary Large Object) - BLOB

Oracle Express Edition Installation on Windows

Oracle Database Express Edition (XE) Installation

 Accessing Oracle Server through Web Interface

 Creating Oracle Database Users

 SQL*Plus - Oracle Command Line Interface

 SQL*Plus - Create New User and Login

 Oracle JDBC Drivers

 Oracle - Reference Implementation of JdbcRowSet

 Oracle - PreparedStatement

 Oracle - JBDC CallableStatement

 Oracle CLOB (Character Large Object) - TEXT

 Oracle BLOB (Binary Large Object) - BLOB

 Microsoft SQL Server Express Edition

 Microsoft JDBC Driver for SQL Server

 Microsoft JDBC Driver - Query Statements and Result Sets

 Microsoft JDBC Driver - DatabaseMetaData Object

 Microsoft JDBC Driver - DDL Statements

 Microsoft JDBC Driver - DML Statements

 SQL Server - PreparedStatement

 SQL Server CLOB (Character Large Object) - TEXT

 SQL Server BLOB (Binary Large Object) - BLOB

 JDBC-ODBC Bridge Driver - sun.jdbc.odbc.JdbcOdbcDriver

 JDBC-ODBC Bridge Driver - Flat Text Files

 JDBC-ODBC Bridge Driver - MS Access

 JDBC-ODBC Bridge Driver - MS SQL Server

 Summary of JDBC Drivers and Database Servers

 Using Connection Pool with JDBC

 Archived Tutorials

 References

 Full Version in PDF/EPUB