Skip Headers
Oracle® Fusion Middleware Programming JCOM for Oracle WebLogic Server
11
g
Release 1 (10.3.5)
Part Number E13725-04
Home
Book List
Master Index
Contact Us
Next
View PDF
Contents
Title and Copyright Information
Preface
Documentation Accessibility
Conventions
1
Introduction and Roadmap
Document Scope and Audience
Guide to This Document
Related Documentation
New and Changed Features
2
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
3
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
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
4
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
5
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
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
Scripting on this page enhances content navigation, but does not change the content in any way.