COM/MTS Guide
Contents:
About This Document
Related Information
Documentation Website
How to Print the Document
Documentation Conventions
Contact Us!
1. Overview
What is COM and DCOM?
What is MTS?
COM Features
Unique Identifiers
Defined Interfaces
Client Access
Deployment Options
COM/MTS Applications
2. Starting Development
Preparing the Development Workstation
Preparing for Application Development
Accessing Databases
Development clients
Application clients
COM Components
3. Building COM Components
Creating Service Components
Defining the Component's Interface
Defining Methods
How to Add a New Method
Specifying the Return Type
Specifying the Parameters
Implementing the Method
Defining Properties
How to Add a New Property
Defining the COM Settings
Application Directory
Version Number
CLSID
DLL Template
Implementing Methods
Implementing Methods in JPL
JPL Variables
Implementing Methods in C
Implementing Methods in Java
Saving as a COM Component
Logging Server Messages
How to Activate Message Logging
Calling Other COM Components
Programming Component Events
Programming for MTS Deployment
Sample COM Components
4. Building Client Screens
Working with COM Components
Instantiating COM Components
Destroying COM Components
Accessing the Component's Methods
Specifying the method's parameters
Determining the parameter's data type
Calling Microsoft's COM Components
Accessing the Component's Properties
Designating an Error Handler
Designating an Event Handler
Sample Client Screens
Writing a Java Event Handler
5. Deploying COM Components
Steps for Deployment
Create an Application Directory
Changing the Library Name
Accessing Libraries
Install the Panther DLLs
Register the COM Component
For COM Deployment
For DCOM Deployment
Configuring DCOM
For MTS Deployment
Registering Components for MTS
Create a Component Package
Install the Component on the Server
How to Install the Component under MTS
How to Unregister a Component
Assign Roles for Component Access
Export the Component to Clients
Using Database Transactions
A. COM/MTS Utilities
makedlls
B. COM Samples
How to Install the COM Samples
How to Configure Database Access for the COM Samples
How to View the COM Samples
Description of the COM Samples
C. New Windows Executables
Client and Web Application Broker Executables
How to Create a New Panther Executable
Specifying the Executables
Linking in the Database
Changing the Panther COM Template DLL
D. Deployment Checklist
E. Troubleshooting Guide
Error Message Listing
Index