Oracle8i CORBA Developer's Guide and Reference
Release 3 (8.1.7)

Part Number A83722-01

Library

Solution Area

Contents

Index

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

Activating In-Session CORBA Objects From Non-IIOP Presentations

Non-IIOP server requests, such as HTTP or DCOM, can activate a CORBA object within the same session.

  • HTTP

 

An HTTP client interacts with the JServer webserver and executes a JSP or servlet, which can activate the CORBA object within the same session that it is running in.  

  • DCOM

 

A DCOM client uses a DCOM bridge to access JServer. While within the JServer session, the DCOM bridge session can activate the CORBA object within the same session that it is running in.  

If the non-IIOP server object wants to look up and activate a new published object in the same session in which it is running, the server object can execute the following:

Context ic = new InitialContext( );
SomeObject myObj = (SomeObject) ic.lookup("/test/Hello");


Note:

Once you retrieve the IIOP object reference through this method, you cannot pass this object to a remote client or server.  


Notice that there are no environment settings for authentication information in the environment or a URL specified in the lookup. The authentication already succeeded in order to log into the session. Plus, the object exists on the local machine. So, any other object activation within the session can proceed without specifying authentication information or a target URL address.



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

All Rights Reserved.

Library

Solution Area

Contents

Index