After completing this lesson, you should be able to do the following: • Explain the key components of the Oracle Net stack communication architecture • Explain Oracle Net’s role in cli
Trang 1Oracle Net Architecture
Trang 2After completing this lesson, you should be able to do the following:
• Explain the key components of the Oracle Net
stack communication architecture
• Explain Oracle Net’s role in client-server
connections
• Describe how Web client connections are
established through Oracle networking products
Trang 3Oracle Net Connections
• Oracle Net is used to establish connections
between applications on a network depending on the following:
– The network configuration
– The location of the nodes – The application
– The network protocol
• The connections types can be:
– Client-Server Application – Java Application
– Web Client Application
Trang 4Client-Server Application Connection
Oracle Database Server Client
Two Task Common
Client Application (uses OCI)
Oracle Net Foundation Layer
Oracle Protocol
Support Network Protocol
Two Task Common
Oracle RDBMS (uses OPI)
Oracle Net Foundation Layer
Oracle Protocol
Support Network Protocol
Oracle Net Oracle
Net
Trang 5Web Client Application Connections
Web browsers can connect to an Oracle server in the following ways:
• Using an application Web server as a middle tier
that is configured with either of the following:
– JDBC Oracle Call Interface (OCI) driver – Thin JDBC driver
• Connecting directly to an Oracle server by using
HTTP
Trang 6Web Client Application Connection: Application Web Server Middle-Tier
Web browser
Oracle server
Application Web server
Client Server HTTP Oracle Net
Java application
or applet
Trang 7Web Client Application Connection:
Java Application Client
Oracle Database Server
Application Web Server (client) Two-Task Common Java application
Oracle Net Foundation Layer
Oracle Protocol Support Network Protocol
Two-Task Common
Oracle RDBMS
Oracle Net Foundation Layer
Oracle Protocol Support Network Protocol JDBC OCI Driver
Trang 8Web Client Application Connection:
Java Applet Client
Application Web Server (client) JavaTTC
Java Applet
JavaNet
TCP/IP Network Protocol JDBC Thin driver
Oracle Database Server Two-Task Common
Oracle RDBMS
Oracle Net Foundation Layer
Oracle Protocol
Support TCP/IP Network Protocol
Trang 9Web Connections Using HTTP
Oracle server supporting HTTP
Client Server
Web browser
HTTP
Trang 10Web Browser Direct Connection
Oracle Database Server Client
HTTP Web browser TCP/IP
HTTP
Oracle RDBMS
Oracle Protocol
Support TCP/IP
Trang 11Connectivity Concepts and Terminology
• Database services
• Service Name
– A logical representation of a database
– The way a database is presented to clients
• Connect Descriptor
– Location of the database – Name of the database service
• Listener
– Receives client connection requests – Hands requests to the database server
Trang 12Connectivity Concepts and Terminology
• Service Registration
– Database registers information with the listener – Service handlers available for each instance
• Service Handlers
– Connection points – Dispatcher or dedicated server
Trang 13Oracle Net Configuration Models
• Localized management
– Local file on each computer in the network
• Centralized management
– LDAP-compliant directory server
– Oracle Names server
Trang 14Overview of Naming Methods
• Naming methods are used by a client application
to resolve a connect identifier to a connect descriptor when attempting to connect to a database service.
• Oracle Net provides five naming methods:
– Host naming – Local naming
– Directory naming – Oracle Names – External naming
Trang 15Oracle Net Configuration Files
listener.ora sqlnet.ora
tnsnames.ora names.ora
ldap.ora
Trang 16In this lesson, you should have learned how to:
• Explain the key components of the Oracle Net
stack communication architecture
• Explain Oracle Net Services role in client-server
connections
• Describe how Web client connections are
established through Oracle networking products