NT Service Toolkit

張貼者:2010年8月5日 上午12:03未知的使用者   [ eddie liu 已於 2012年8月9日 上午2:14 更新 ]

Desaware Universal COM

NT Service Toolkit是用VB 開發NT Server 服務的工具。 它支持NT Server 的各種服務項目的選擇和控制。 背景線程的支持使得應用程序可以等待系統進程和同步對象。


-----------------------------------------
開發商:Desaware
原廠網址:http://www.desaware.com/products/universalcom/ntservicetoolkit/index.aspx
更新日期:2011/05/18
採購正式版、大量授權報價、技術支援、軟體諮詢、委託採購、詢問報價請來電 02-29299388 分機16 , 
來信service@orderble.com,或點我
------------------------------------------------------------------------------


NT服務工具包的特點

  • COM / DCOM集成的遠程處理
  • 仿真和調試
  • 可伸縮性,線程和同步
  • 靈活的配置選項
  • 其他功能

集成的COM / DCOM技術

雖然有些服務獨立運行,許多人都打算從被稱為客戶端。 他們可以充當經紀人資源,實現業務邏輯,或作為軟件代理的客戶。 為此,他們必須揭露對象通過 COM或DCOM。

在Desaware NT服務工具包可以讓你揭露兩類對象的服務。 第一個是應用程序對象,這是共同的客戶。 這個對象是理想的控制服務或使用服務不同客戶之間共享數據。 第二種類型的對象是一個獨特的客戶對象是每個客戶的要求,可用於保存特定的信息給客戶端。 客戶端對象也可以訪問應用程序對象允許您靈活地提供客戶端具體和共享數據。

服務創造了這個工具包可以利用COM對象和服務,使其易於集成技術,如Winsock的時,ADO和MSMQ為您服務。

仿真和調試

在Desaware NT服務工具包是建立在一個框架,使我們自動生成一個可執行文件,成為您的主要服務的可執行的基礎上回答了幾個簡單的問題。 此可執行文件,然後創建對象的ActiveX DLL服務器,您創建使用Visual Basic。 您的VB的DLL,不僅實現了每部分的服務受到控制框架的EXE,但提供了必要的配置信息,以及。

  • 運行您的ActiveX DLL在Visual Basic環境,而它正在使用的框架的EXE! 即使在運行時作為一個服務! 這使得調試和測試服務,比以往更容易被 - 甚至可能更容易比在C + +!
  • 我們的內置服務模擬器還使測試和調試服務,實際上不安裝它們作為一項服務。 這不僅加快了開發速度,而且是特別重要的測試啟動和關閉的情況,很難調試。
  • 該服務框架是完全儀器用於跟踪和調試,基本為迅速解決問題,無論是在發展和分配後。

可伸縮性,線程和同步

NT服務工具包提供了許多功能,以提高可伸縮性和支持多線程。

  • 客戶對象,您通過您的服務公開上創建一個線程池,這不僅提高了能力,以響應用戶的請求,但也隔絕客戶主要服務對象從線程和服務控制線 - 從而防止客戶的干預和其他正在處理的任務服務。
  • 一個內置的計時器可以方便地執行國家機器或其他定期的功能在主服務線程。
  • 支持自動同步到任何系統的同步對象(Mutext,事件,信號量,工藝等)。 同步,發生在一個自動產生的背景線,以事件通知主線程完成。
  • 所有的背景和多線程操作遵循COM線程規則,是完全安全和兼容的Visual Basic。

靈活的配置選項

  • 服務創造了這個工具包是完全自行安裝和自我卸載使用命令行。
  • 命令行安裝允許規範的用戶,密碼和自定義安裝時參數 - 理想配套定制的自動化安裝部署過程中。
  • 靜默模式安裝適合遠程或自動安裝服務。

其他功能

  • 互動服務功能,包括能檢測登錄的用戶,當用戶註銷系統。
  • 建立功能齊全的控制面板小程序使用Visual Basic。
  • 高度的兼容性的。NET版本的工具包,使移民的服務。NET中非常方便。
  • 優秀的支持互動服務。
  • 高級關機檢測(早於所提供的。NET框架)。
  • VB 6.0 的類庫控制服務。


NT Service Toolkit Features

  • Integrated COM/DCOM Remoting
  • Simulation and Debugging
  • Scalability, Threading and Synchronization
  • Flexible configuration options
  • Additional Features

Integrated COM/DCOM

While some services run independently, many are intended to be called from clients. They may serve as resource brokers, implement business logic, or act as a software agent for clients. To do so, they must expose objects through COM or DCOM.

The Desaware NT Services Toolkit allows you to expose two types of objects from the service. The first is an application object, that is shared by all clients. This object is ideal for controlling the service or using the service to share data among different clients. The second type of object is a client object which is unique to each client request and can be used to hold information specific to the client. The client object also has access to the application object allowing you flexibility in providing both client specific and shared data.

Services created with this toolkit can make use of COM objects and services, making it easy to integrate technology such as Winsock, ADO and MSMQ into your service.

Simulation and Debugging

The Desaware NT Service Toolkit is built on a framework by which we automatically generate an executable that becomes your main service executable based on the answers to a few simple questions. This executable then creates objects in an ActiveX DLL server that you create using Visual Basic. Your VB DLL not only implements every part of the service under control of the framework EXE, but provides necessary configuration information as well.

  • Run your ActiveX DLL under the Visual Basic environment while it is being used by the framework EXE! Even while it is running as a service! This makes debugging and testing a service easier than it has ever been - even easier than is possible in C++!
  • Our built-in Service simulator also makes it possible to test and debug services without actually installing them as a service. This not only speeds development, but is especially critical for testing startup and shutdown scenarios that are difficult to debug.
  • The service framework is fully instrumented for tracing and debugging, essential for rapid solution to problems both during development and after distribution.

Scalability, Threading and Synchronization

The NT Service toolkit offers numerous features to improve scalability and support multithreading.

  • Client objects that you expose through your service are created on a thread pool, which not only improves the ability to respond to user requests, but also isolates client objects from the main service thread and the service control thread - thus preventing clients from interfering with other tasks being handled by the service.
  • A built in timer allows easy implementation of state machines or other periodic functions on the main service thread.
  • Supports automatic synchronization to any system synchronization object (Mutext, Event, Semaphore, process, etc.). Sychronization occurs on an automatically spawned background thread, with event notification to the main thread on completion.
  • All background and multithreaded operations follow COM threading rules and are completely safe and compatible with Visual Basic.

Flexible configuration options

  • Services created with this toolkit are entirely self-installing and self-uninstalling using the command line.
  • Command line installation allows specification of user, password and custom install time parameters - ideal for supporting customized automated installations during deployment.
  • Silent mode install ideal for remote or automated service installation.

Additional Features

  • Interactive service features including the ability to detect the logged on user, and when a user is logging off the system.
  • Create full featured control panel applets using Visual Basic.
  • A high degree of compatibility with the .NET version of the Toolkit makes migration of services to .NET remarkably easy.
  • Excellent support for interactive services.
  • Superior shutdown detection (earlier than provided by the .NET framework).
  • VB6 class library for controlling services.