
Appendix C Creating EAServer 1.1 Java Clients
Intercomponent calls using EAServer 1.1 stubs
Components that were developed for EAServer version 1.1 may
use the EAServer 1.1stub interface to instantiate stubs for intercomponent
calls. When instantiating an EAServer 1.1 stub for intercomponent
calls, the following restrictions apply:
- When
calling createInstance, you must use a port in
the JProperties settings that matches the port
in the IIOP listener that you wish to connect to. You can use the
loopback address (127.0.0.1 or localhost) for
the host name. Since invocations are performed in memory, there
is no need to connect to a secure port.
- You must use the option that requests a dedicated
connection for the stub, as follows:
- If you
are using createInstance(Properties), call JProperties.setNewConnection(true) when
initializing the JProperties object.
- If you are using createInstance(String,
Class), add the jag_new_connection option
to the URL string.
See Chapter 1, "Java Classes and Interfaces",
in the EAServer API Reference for descriptions
of these methods.
Copyright © 2002 Sybase, Inc. All rights reserved.
|
|