Oracle8i Enterprise JavaBeans and CORBA Developer's Guide
Release 8.1.5

A64683-01

Library

Product

Contents

Index

Prev  Chap Top Next

Object References Have Session Lifetimes

The Aurora ORB creates object instances in database sessions. When a session disappears, references to objects created in that session become invalid; attempts to use them incur the "object does not exist" exception. A session disappears when the last client connection to the session is closed or the session's timeout value is reached. An object in a session can set the session timeout value with
oracle.aurora.net.Presentation.sessionTimeout()
optionally providing a client interface to this method, which a client can call if it wants an object to persist after client connections to the session are closed.

The life of a typical Oracle8 i CORBA object proceeds as follows:




Prev

Top

Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index