Oracle8 JDBC Drivers Section 2. Common Features of Oracle JDBC Drivers The server-side and client-side Oracle JDBC drivers provide the same basic functionality.

Slides:



Advertisements
Similar presentations
Lecture plan Information retrieval (from week 11)
Advertisements

CSE Tier Architectures (or 3-Tier Applications) Adapted from Chuck Cusack’s Notes.
Location based Streaming Topics for our 1 st presentation  Thesis Description  Positioning System  Streaming over positioning  Questions Session.
SQL (Structured Query Language) X/OPEN Call Level Interface For SQL ODBC (Open DataBase Connectivity) API JDBC (Java DataBase Connectivity) API SQL (Structured.
1. Introducing Java Computing  What is Java Computing?  Why Java Computing?  Enterprise Java Computing  Java and Internet Web Server.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
The Architecture of Transaction Processing Systems
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
A Computer Aided Despatch System on CORBA/Java Platform Chau Chi Wing.
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
Java Server Programming Jeff Schmitt Towson University October 15, 1998.
CSIT 320 (Blum)1 Client-Server Interaction Based on Appendix 1 in Computer Networks and Internets, Comer.
Web-based Software Development - An introduction.
Advance Computer Programming Java Database Connectivity (JDBC) – In order to connect a Java application to a database, you need to use a JDBC driver. –
INTRODUCTION TO WEB DATABASE PROGRAMMING
Getting connected.  Java application calls the JDBC library.  JDBC loads a driver which talks to the database.  We can change database engines without.
JDBC Vs. Java Blend Presentation by Gopal Manchikanti Shivakumar Balasubramanyam.
September 6, 2015 Connecting Client Applications to Informix Databases using IBM Informix Connect and ODBC James Edmiston Database Consultant Quest Information.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Chapter 4: Core Web Technologies
HTTP client wide area network (Internet) HTTP proxy HTTP server HTTP gateway firewall HTTP tunnel Copyright Springer Verlag Berlin Heidelberg 2004.
Glink: GCOS e-business in an application server architecture Summit 2000, Jim Gallagher.
Introduction to distributed systems Dr. S. Indran 23 January 2004.
Modern Software Technologies Java™, J2EE™, JSP™, JDBC™ by Radoslav Tr. Ivanov
From Client Server to WEB Rizwan Akhtar Tangible Technologies
CS 493/693: Distributed Systems Programming V. “Juggy” Jagannathan CSEE, West Virginia University March 21, 2005.
Introduction to Internet Programming (Web Based Application)
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
Introduction to J2EE Architecture Portions by Kunal Mehta.
Why Java? A brief introduction to Java and its features Prepared by Mithat Konar.
Fundamentals of Database Chapter 7 Database Technologies.
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
Connecting to Oracle using Java November 4, 2009 David Goldschmidt, Ph.D. David Goldschmidt, Ph.D.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
1 Welcome to CSC 301 Web Programming Charles Frank.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Copyright © 2002 ProsoftTraining. All rights reserved. JavaServer Pages.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
JDBC
UNIT III - JDBC JDBC Overview – JDBC implementation – Connection class – Statements - Catching Database Results, handling database Queries. Networking–
Assignment of JAVA id : BSSE-F10-M-10-JAVA1 Overview of J2EE/Session 2/Slide 1 of 38.
JSP Server Integrated with Oracle8i Project2, CMSC691X Summer02 Ching-li Peng Ying Zhang.
WEB SERVER SOFTWARE FEATURE SETS
CSI 3125, Preliminaries, page 1 JDBC. CSI 3125, Preliminaries, page 2 JDBC JDBC stands for Java Database Connectivity, which is a standard Java API (application.
ViaSQL Technical Overview. Viaserv, Inc. 2 ViaSQL Support for S/390 n Originally a VSE product n OS/390 version released in 1999 n Identical features.
JDBC Chapter 1 JDBC Introduction
Glink for Java: applet, application and an API for integrating access to Bull, IBM, UNIX and Minitel systems with your Java based e-business applications.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
2 Copyright © Oracle Corporation, All rights reserved. Basic Oracle Net Architecture.
12 Copyright © 2004, Oracle. All rights reserved. Application Migration: Overview.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
3-Tier Architectures (or 3-Tier Applications)
Web-based Software Development - An introduction
ODBC, OCCI and JDBC overview
Developing Web-Based Applications
Introduction to J2EE Architecture
Mr. Harish Sharma Asst. Professor Dept. of CA & IT SGRRITS Dehradun
Computer Based Adaptive Testing
JAVA DATABaSE CONNECTIVITY
Chapter 14 Web-Based Management 14-1 Chapter 14
Introduction of Week 5 Assignment Discussion
Outcome of the Lecture Upon completion of this lecture you will be able to understand Fundamentals and Characteristics of Java Language Basic Terminology.
Presentation transcript:

Oracle8 JDBC Drivers Section 2

Common Features of Oracle JDBC Drivers The server-side and client-side Oracle JDBC drivers provide the same basic functionality. They all support the following standards and features: Either JDK 1.2.x / JDBC 2.0 or JDK 1.1.x / JDBC 1.22 (with Oracle extensions for JDBC 2.0 functionality). These two implementations use different sets of class files. Either JDK 1.2.x / JDBC 2.0 or JDK 1.1.x / JDBC 1.22 (with Oracle extensions for JDBC 2.0 functionality). These two implementations use different sets of class files.

Continued The same syntax and APIs The same syntax and APIs The same Oracle extensions The same Oracle extensions Full support for multi-threaded applications Full support for multi-threaded applications Generally speaking, the only differences between the drivers are in how they connect to the database and how they transfer data.

Supported JDK & JDBC Versions Oracle's JDBC drivers, release 8.1.5, support the JDK versions and 1.1.x. They also comply with JDBC version and, in addition, implement most of the features of JDBC version 2.0.

Oracle8 JDBC Client-side Drivers Oracle provides two categories of JDBC Client-side drivers: JDBC Thin for Java applets and applications JDBC Thin for Java applets and applications JDBC OCI for Java applications JDBC OCI for Java applications

JDBC Thin Oracle’s JDBC Thin driver is a Type 4 driver that uses Java sockets to connect directly to Oracle. It provides its own implementation of a TCP/IP version of Oracle’s Net8. Oracle’s JDBC Thin driver is a Type 4 driver that uses Java sockets to connect directly to Oracle. It provides its own implementation of a TCP/IP version of Oracle’s Net8. It connects to any Oracle database of version or higher. It connects to any Oracle database of version or higher. This driver is written entirely in Java, so it is platform-independent. It doesn’t require Oracle software in the client side This driver is written entirely in Java, so it is platform-independent. It doesn’t require Oracle software in the client side

Continued The driver supports only TCP/IP protocol and requires a TNS listener on the TCP/IP sockets from the database server. The driver supports only TCP/IP protocol and requires a TNS listener on the TCP/IP sockets from the database server. The JDBC Thin driver does not require Oracle software on the client side; it can be downloaded into a browser simultaneously with the Java applet being run. From the client (usually a browser), you select a URL from an HTML page that contains a Java applet tag. The web server downloads the

Java applet and the JDBC Thin driver to the client. The JDBC Thin driver then establishes a direct connection to the database server using Java Sockets. However, firewall issues limited its use in applets for general distribution via the World Wide Web.

JDBC OCI Oracle’s JDBC driver is Type2 JDBC driver. It uses the OCI (Oracle Call Interface) to interact with an Oracle database and requires an Oracle client installation Oracle’s JDBC driver is Type2 JDBC driver. It uses the OCI (Oracle Call Interface) to interact with an Oracle database and requires an Oracle client installation It is platform-specific. The supported platforms are: It is platform-specific. The supported platforms are: --- Solaris: version 2.5 and above --- Solaris: version 2.5 and above --- Windows: 95 and NT 3.51 and above --- Windows: 95 and NT 3.51 and above The OCI drivers provide the highest compatibility with the different Oracle 7, 8, and 8i versions. They also support all installed Net8 adapters. The OCI drivers provide the highest compatibility with the different Oracle 7, 8, and 8i versions. They also support all installed Net8 adapters.

Continued OCI drivers, because they are platform specific, are not suitable for use in applets intended to be downloaded into browsers running on unknown platforms. They are, however, excellent choices for Java application or Java middle tiers like the Oracle Web Application Server 3.0 Java Cartridge. OCI drivers, because they are platform specific, are not suitable for use in applets intended to be downloaded into browsers running on unknown platforms. They are, however, excellent choices for Java application or Java middle tiers like the Oracle Web Application Server 3.0 Java Cartridge.

Continued You can use the JDBC OCI driver in these configurations: --- with a Java application running on a client machine in a two-tier configuration --- with a Java application running on a middle tier in a three-tier configuration ---with a Java servlet running on a middle tier in a three-tier configuration

Oracle8 JDBC Server Driver Oracle's JDBC Server driver is for server- side use only. The Server driver provides server-side JDBC support for any Java program used in the database, Java stored procedure, Enterprise Java Beans (EJB) and for communication with SQL and PL/SQL programs. The Server driver is fully consistent with, and supports the same features and extensions as the client-side drivers.

Continued The JDBC Server driver allows Java programs that use the Oracle Java Virtual Machine (VM) and run inside the database to communicate with the SQL engine. The Server driver, the Java VM, the database, the C library, and the SQL engine all run within the same address space. There are no network round-trips involved. The programs access the SQL engine by using function calls.

Driver-Database Architecture

Choosing the Appropriate Driver Four main considerations that you must bear in mind when choosing which JDBC driver to use for your application or applet are: If you are writing an applet, you must use the JDBC Thin driver. JDBC OCI-based driver classes cannot be downloaded to a Web browser, because they call native (C language) methods.

If you desire maximum portability, then choose the JDBC Thin driver. You can connect to an Oracle8 data server from either an application or an applet using the JDBC Thin driver. If you desire maximum portability, then choose the JDBC Thin driver. You can connect to an Oracle8 data server from either an application or an applet using the JDBC Thin driver. If you are writing an application and need maximum performance, then choose the JDBC OCI driver. If you are running in the Oracle database server using the Oracle Java VM, then choose the JDBC Server driver.