Oracle8i Java Developer's Guide
Release 3 (8.1.7)

Part Number A83728-01

Library

Product

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

Configuring JServer

When you install JServer as part of your normal Oracle8i installation, you will encounter configuration requirements for JServer within the Oracle8i Database Configuration Assistant and the Net8 Assistant. However, if you install using initjvm.sql, you must configure either by bringing up certain configuration tools or manually editing the initialization files.

The main configuration for Java classes within Oracle8i includes configuring Java memory requirements, the type of database processes, and the underlying connection protocol to the server.

You will require a different configuration for your database type and connection configuration, depending on the type of Java application, as listed below:

Java API   Database type   Connection configuration  

Java stored procedures  

Java stored procedures can run either in dedicated server mode or multi-threaded server (MTS) mode. If you are primarily developing Java stored procedures, you can run them in the dedicated server configuration.  

Java clients or PL/SQL clients that trigger a Java stored procedure connect over a Net8 connection. See the Net8 Administrator's Guide for information on configuring a Net8 connection.  

Enterprise Java Beans (EJB) or CORBA  

EJB and CORBA applications run only in the MTS configuration. See Net8 Administrator's Guide for information on configuring MTS.  

EJB and CORBA clients use the CORBA Internet Inter-Orb Protocol (IIOP). See the Oracle8i Enterprise JavaBeans Developer's Guide and Reference or the Oracle8i CORBA Developer's Guide and Reference books for information on IIOP configuration.  

Both Java stored procedures and EJB or CORBA applications  

If you are combining both EJB and CORBA applications with Java stored procedures in a single application, you can configure both application types as follows:

  • Configure your database to support EJB and CORBA applications in an MTS configuration

  • Configure your database to support stored procedures in a dedicated server configuration.

 

You must configure both a Net8 and an IIOP connection.  

Java Stored Procedure Configuration

To configure the database to run Java stored procedures, you must decide whether you want the database to run in dedicated server mode or MTS mode.

Java, SQL, or PL/SQL clients, which execute Java stored procedures on the server, connect to the database over a Net8 connection. For a full description of how to configure the Net8 connection, see the Net8 Administrator's Guide.

Enterprise JavaBeans and CORBA Configuration

Clients access EJB and CORBA applications in the database over an Inter-Orb Protocol (IIOP) connection. IIOP is an implementation of GIOP over TCP/IP. To support an IIOP connection, you must configure the database in MTS mode with the General Inter-Orb Protocol (GIOP) presentation.

Oracle8i also supports the use of authentication data such as certificates and private keys required for use by SSL in combination with both types of GIOP protocols-- regular GIOP and session-based GIOP.

For a complete description of how to configure MTS, see the Net8 Administrator's Guide. For a full description of how to configure the GIOP presentation, see the Oralce8i Enterprise JavaBeans Developer's Guide and Reference or the Oracle8i CORBA Developer's Guide and Reference books..



Go to previous page
Go to beginning of chapter
Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index