Server Side Configuration
Server Side Configuration
Listener
The listener is a separate process that runs on the database sever computer.it receives coming clients
connection request and manages the traffic of these request to the database server .
Listener process
Whenever a new connection in the database the first connection is is to relay on the oracle listener
process. It acts like human ear in the database which will be listen all the incoming connection. It’s
responsibility is to hand over these connection in database. It’s kind of gatekeeper which will check k
authentication of all incoming request of client. There is no relation between database and listener.
Listener us not depend on database.
Listener configuration
Configuration file is reside under the $ORACLE_HOME/network/admin/location
Listener is hands over new connection through PMON.
Single listener can handle connection for multiple databases.
You can configure multiple listeners for single database for load balancing.
You can configure multiple listeners for multiple database.
Configuration file name is listener.ora. It contain all parameters that is important for run the listener
process .listener can take all credential.
Listener can run in OS or not
Command = #ps-ef|greptens
Connect listener utility
# lsnrctl
There are two types of listener configuration
Manual
Netmgr utility
Session
A session represents the connection between an application and the relational database that stores its
persistence object. It is used for single user and single database application.
Database session class
An application must create an instance of the database session class. A database session class stores the
following information.
An instance of project and database login which stores database.
An instance of database accessor which wraps the JDBC connection and handles database
access.
The descriptor for each of the application’s persistence class.
The identity maps which maintain object and act as a cache
Creating listener
To configure follow below steps.
Login to system as ORACLE user.
now execute netca command and follow below steps.
Click on Next
Again Next