Component Service Introduction

Source: Internet
Author: User

1. Component Services

COM + is a revolution of COM, not just a new version of COM programming mode, but a brand-new platform for designing and developing components. In addition, the component services of Windows XP are different from those of Windows 2000. Windows XP and COM + 1.5 provide far more functions than COM + 1.0. In this articleArticleBasic component services in XP will be explored.
COM + can be used to run critical tasks and enterprise-level distributed applications on Windows XP platformProgram. In the latest version, COM + has added many new features, enhancing scalability, availability, and manageability for developers and system administrators.
Windows XP contains COM + 1.5. In this article, we will discuss its new features and functions. Microsoft has performed well in many aspects of the availability of COM +, solved some small defects in COM + 1.0, and added some new features to the existing services. In addition, COM + can be integrated with. Net Services. Of course, COM + 1.5 is completely backward compatible with COM + 1.0.
When designing and developing enterprise-level applications, we need to use COM + for several reasons. If you are a system administrator, you can install, deploy, and configure the COM + application software and its components. If you are an application software developer, You can compile components and combine them into an application software; if you are a tool developer, you can develop or modify the tool in the COM + environment so that the tool has more functions.

2. Why do I need component services?

For designers and developers, COM + can bring a new experience to the design and development of enterprise-level applications. Users can concentrate on solving business-related problems without considering some details.
COM + simplifies the design and development of enterprise distributed application software. We must understand the true meaning of enterprise-level applications, and enterprise-level distributed applications must be able to correctly execute the relevant business processes in a timely manner. In addition, such applications have different types of users, such as customers, employees, and managers. All enterprise applications are related to the Internet/Intranet and multi-layer networks with security capabilities. one of Microsoft's goals when developing COM + is to provide enterprises with multi-layer applications, and hide its internal complexity as much as possible. Over the past 10 years, Microsoft has made considerable progress in creating such distributed applications. Different from the general view ,. the Net Framework will not replace COM +. We still need the COM + service zookeeper distributed processing, Object pool, runtime activation, synchronization, queue components, etc, to build an enterprise-level distributed application running on Windows. In this article, I will introduce how to create and deploy a service component.

3. What is component service?

We must realize that component services are COM + in Windows XP and 2000, and are the New Development of Microsoft Component Object Model (COM) and Microsoft Transaction Server (MTS. COM + can process many resource management tasks that must have been programmed by developers, such as thread security and allocation. By providing the thread pool, Object pool, and runtime object activation, it can automatically make the application more scalable. COM + also provides support for transactions, or even transactions across multiple databases on the network, to ensure data integrity.

Like an application, components that are part of an application also need to run the Time Service. In Windows 2000 and XP, such services are the COM + component service. COM + adds a series of other services on the basic COM, such as transaction queue component (QC), security, loose coupling event (LCE), and runtime activation (JITA), basic listening service, Object pool, and so on. com enhancement includes improvements to thread and security and introduction of asynchronous COM, the new service includes synchronization, Object pool, Queue component, and a new distributed application management and packaging service. For developers who are used to COM programming, improvements in COM + are significant. COM + implements a thread mode called a neutral unit thread, which allows a component to be accessed serially and run in any thread. In addition to the thread mode, COM + also provides role-based security mechanisms and asynchronous object execution.

From: http://www.ccw.com.cn/htm/app/course/02_1_31_3.asp

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.