Internet Features   «Prev  Next»

Lesson 1

Internet and Cloud Connectivity in Oracle 23ai

Oracle's connectivity model has evolved dramatically since the early client-server designs of Oracle 9i. Modern releases such as Oracle Database 23ai integrate directly with cloud-native, REST-based, and AI-assisted infrastructures that allow data, multimedia, and web services to interact seamlessly. This lesson examines how Oracle 23ai connects to applications across the internet, focusing on its underlying APIs, architectural patterns, and performance benefits in multi-tier deployments.

Evolution of Internet Connectivity

In Oracle 9i, internet connectivity revolved around the Oracle Internet File System (iFS) and early web service protocols like SOAP and XML. By contrast, Oracle 23ai builds on more than two decades of development, offering lightweight REST endpoints, built-in JSON handling, and cloud scalability designed for both on-premises and hybrid deployments.

Integrating Multimedia and Internet Applications

Oracle 23ai supports modern data types far beyond text and numbers, allowing images, video, audio, and document metadata to coexist in the same schema. The integration of multimedia follows the same architectural principles as traditional data:

Client and Server Communication in Modern Oracle

Client connects to server via JDBC
Figure 1: Client connects to server via JDBC

Traditional client-server communication remains a foundation of Oracle’s design, but the APIs have evolved. Java Database Connectivity (JDBC) continues to be a core interface, allowing applications written in Java, Kotlin, or Scala to connect to Oracle databases using SQL and PL/SQL calls.


// Basic JDBC example in Java SE 22
Connection conn = DriverManager.getConnection(
  "jdbc:oracle:thin:@db23ai_high?TNS_ADMIN=/wallet_path",
  "admin", "password");

PreparedStatement stmt = conn.prepareStatement(
  "SELECT product_name, price FROM products WHERE price > ?");
stmt.setDouble(1, 1000.00);
ResultSet rs = stmt.executeQuery();

The example above uses the oracle:thin driver, the standard for both cloud and on-premises access. In Oracle 23ai, connection pooling is automatically managed by the database when using Autonomous Transaction Processing (ATP) or Autonomous JSON Database.

Two-Tier vs. Three-Tier Architecture

Oracle environments can operate in either two-tier or three-tier configurations. Understanding their differences is essential when designing modern, internet-connected systems.

Three tier client server
Figure 2: Three-tier client–server model in Oracle environments

Two-Tier Architecture

In a two-tier setup, the client connects directly to the database server through Oracle Net Services. This model is simple but limited in scalability, as each client session maintains its own connection to the database. It remains suitable for internal administrative tools and small enterprise applications.

Three-Tier Architecture

The three-tier architecture separates application logic from the client and database. Clients (such as web browsers or mobile apps) interact with an application server—running technologies such as Java EE, Spring Boot, or Node.js—that communicates with Oracle through JDBC or ORDS.

This separation provides:

Oracle Cloud and Network Connectivity

Oracle 23ai is engineered for cloud-first deployment. Within Oracle Cloud Infrastructure (OCI), databases are deployed into Virtual Cloud Networks (VCNs) that define secure subnets, gateways, and routing rules. Network performance is optimized through Oracle’s internal backbone, while private endpoints restrict access to trusted applications only.

Connectivity options include:

Module Objectives

By the end of this module, you will be able to:

  1. Describe how Oracle 23ai integrates REST, JDBC, and JSON technologies.
  2. Explain differences between two-tier and three-tier architectures.
  3. Configure secure network connections for cloud databases.
  4. Use Oracle Cloud tools like ORDS and CMAN for distributed applications.
  5. Understand how multimedia and object data integrate with Oracle 23ai APIs.

The next lesson introduces multimedia management in Oracle 23ai and demonstrates how to connect web-based front-end applications to cloud databases securely.


SEMrush Software 1 SEMrush Banner 1