Page #127 (Future Enhancements)

< BACK  NEXT >
[oR]

Summary

This chapter concerns the administration of COM+ applications and services. The COM+ catalog, organized as a hierarchy of collections, uses the Windows registry and an auxiliary database called RegDB to persist attributes concerning applications. While the PROGID of a class, path to the component DLL, type library, and proxy/stub information are stored in the Windows registry, COM+ configuration attributes are stored in RegDB. Typical RegDB data includes settings for the use of transactions, synchronization, security, object pooling, JIT activation, queuing, and COM+ events.

The catalog server on each Windows 2000 machine acts as a query engine that allows data to be read and written to the catalog.

The administration object model defines three COMAdmin objects. These COMAdmin objects are used to read and write information that is stored in the catalog. Furthermore, the admin objects are also used to manage COM+ applications and services, including the installation of applications on the local machine and the deployment of applications to remote machines.

The COMAdminCatalog object is used to represent the catalog itself. It is the fundamental object that is used for any programmatic administration. It supports the ICOMAdminCatalog interface, which provides methods to implement a variety of administrative tasks.

The COMAdminCatalogCollection is a generic object used to represent any collection. It supports an interface, ICatalogCollection, which enables one to: enumerate through collections, add and remove items from a collection, and retrieve related information from a collection.

The COMAdminCatalogObject is a generic object that can be used to represent any item contained in a collection. It exposes an interface, ICatalogObject, that can be used to obtain and/or modify information about an item (in the collection) and its properties.

Error handling issues that arise from attempts to modify the catalog must be considered when using the COMAdmin objects. The programming model provides the ErrorInfo collection to obtain extended error information in case of failure.

Administrative operations may be performed within a transaction so that the configuration changes are committed or aborted as one atomic operation.

The future release of COM+ (COM+ 1.x) will add many services that will increase the overall scalability, availability, and manageability of COM+ applications.


< BACK  NEXT >


COM+ Programming. A Practical Guide Using Visual C++ and ATL
COM+ Programming. A Practical Guide Using Visual C++ and ATL
ISBN: 130886742
EAN: N/A
Year: 2000
Pages: 129

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net