Programming WebLogic jCOM

     Previous  Next    Contents    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Introduction and Roadmap

Document Scope and Audience

Guide to This Document

Related Documentation

New and Changed Features

Understanding WebLogic jCOM

What Is WebLogic jCOM?

An Important Note on Terminology

jCOM Architecture

Why Use WebLogic jCOM?

WebLogic jCOM Features

Planning Your WebLogic jCOM Application

Zero-Client Deployment

Advantages and Disadvantages of Zero-Client Deployment

Early Versus Late Binding

Advantages and Disadvantages of Each Binding Model

DCOM Versus Native Mode

Advantages and Disadvantages of Native Mode

jCOM Features and Changes in this Release

Calling into WebLogic Server from a COM Client Application

Special Requirement for Native Mode

Calling WebLogic Server from a COM Client: Main Steps

Preparing WebLogic Server

Generate Java Wrappers and the IDL File—Early Binding Only

Configuring Access Control

Granting Access to java.util.Collection and java.util.Iterator

Granting Access to ejb20.basic.beanManaged

Preparing the COM Client

Install Necessary Files

jCOM Tools Files

WebLogic Server Class Files—Native Mode Only

Obtain an Object Reference Moniker from the WebLogic Server Servlet—Zero Client Only

Generate Java Wrappers and the IDL File—Early Binding Only

Some Notes about Wrapper Files

Register the WebLogic Server JVM in the Client Machine Registry

Unregistering JVMs

Select Native Mode, If Applicable

Code the COM Client Application

Late Bound Applications

Known Problem and Workaround for Late Bound Clients

Early Bound Applications

Start the COM Client

Running COM-to-WLS Applications in Native Mode

Native Mode with the JVM Running Out-of-Process

Native Mode with the JVM Running In-Process

Calling into a COM Application from WebLogic Server

Special Requirements for Native Mode

Calling a COM Application from WebLogic Server: Main Steps

Preparing the COM Application

Code the COM Application

Generate Java Classes with the com2java GUI Tool

Package the Java Classes for WebLogic Server

Start the COM Application

Using Java Classes Generated by com2java

Using Java Interfaces Generated from COM interfaces by com2java

A Closer Look at the jCOM Tools

com2java

Using com2java

Selecting the Type Library

Specifying the Java Package Name

Options

Generate the Proxies

Files Generated by com2java

Enumerations

COM Interfaces

COM Classes

Special Case—Source Interfaces (Events)

java2com

regjvm

JVM Modes

DCOM mode

Native Mode Out of Process

Native Mode in Process

The User Interface of the regjvm GUI Tool

DCOM Mode Options for the regjvm GUI Tool

Native Mode Options for the regjvm GUI Tool

Native Mode in Process Options for the regjvm GUI Tool

regjvmcmd

regtlb

Upgrading Considerations

Advantages of jCOM 8.1 over jCOM 6.1

Changes to Your COM Code

Security Changes

Configuration Changes

Upgrading from jCOM 7.0 to jCOM 8.1


  Back to Top       Previous  Next