Programming WebLogic jCOM

 Previous Next Contents View as PDF  

Upgrading Considerations

The following sections describe upgrading from WebLogic jCOM 6.1 to WebLogic jCOM 7.0.

 


Advantages of Implementing jCOM 7.0

WebLogic jCOM 7.0 is dramatically simpler to implement than WebLogic jCOM 6.1, for the following reasons:

 


Changes to Your COM Code

The upgrade to 7.0 may affect your COM application code in the following ways:

 


Security Changes

Previously handled through jCOM-specific software, security is now implemented through WebLogic Server's security mechanism of roles and policies. Specifically, to allow COM clients access to WebLogic Server objects, you must export those objects for use by the COM client. You do this through the WebLogic Server Administration Console.

For details, see Configure Access Control, in Calling into WebLogic Server from a COM Client Application.

 


Configuration Changes

You now configure properties through console rather than at command-line and many of the properties have gone away. The following table maps 6.1 properties to 7.0 properties:

This 6.1 property:

Is handled this way in 7.0:

ENABLE_TCP_NODELAY

No longer needed.

JCOM_DCOM_PORT

No longer needed. The new port defaults to the port WebLogic Server is listening on, typically 7001.

JCOM_COINIT_VALUE

Configure via the Apartment Threaded property in the WebLogic Server Console

JCOM_INCOMING_CONNECTION_TIMEOUT

Configure via the COM Message Timeout property in the WebLogic Server Administration Console.

JCOM_OUTGOING_CONNECTION_TIMEOUT

Causes outgoing connections (connections initiated by the WebLogic jCOM runtime) which have not been used for specified number of milliseconds to disconnect. Configure by adding the 'JCOM_OUTGOING_CONNECTION_TIMEOUT = [number of milliseconds]' parameter on the command-line (for example, to the Java option of your WebLogic Server start script).

com.bea.jcom.server

WebLogic Server's listen port is used.

JCOM_MAX_REQUEST_HANDLERS

jCOM threading has been integrated with the WebLogic Server thread pool so this setting now corresponds to the number of threads configured for the WebLogic Server.

JCOM_NATIVE_MODE

Configure via the Native Mode Enabled property in the WebLogic Server Administration Console.

JCOM_NOGIT

No longer needed.

JCOM_NTAUTH_HOST

Configure via the NTAuth Host property in the WebLogic Server Administration Console.

JCOM_LOCAL_PORT_START

No longer needed. WebLogic Server listen port is used for this range.


JCOM_LOCAL_PORT_END

No longer needed. WebLogic Server listen port is used for this range.

JCOM_PROXY_PACKAGE

No longer needed.

JCOM_SKIP_CLOSE

No longer needed. WebLogic Server closes connections based on the value of the COM Message Timeout property.

JCOM_WS_NAME

No longer needed. WebLogic jCOM uses the name of the server instance you invoke in a CreateObject statement.

 

Back to Top Previous Next