Borland®
Shop
Products Downloads Services Support Partners News & Events Company Community
DataSnap

MIDAS 3
White Papers
FAQ
MIDAS 3 Licensing


Order Now

Register

Support

Case Studies

News & Press
News Articles
Press Releases

Previous Versions
MIDAS 2 Product Information
MIDAS 2 Licensing Information
MIDAS Client for Java

jobs@borland.com

Got Training

We Support CORBA

 MIDAS

Building Scalable Applications with Windows NT and DCOM
By Mike Destein, Product Manager, Borland International, Inc.

Overview
Building Scalable Applications with Windows NT and DCOM
Summary

Overview

The new technology behind Windows NT 4.0 and Microsoft's implementation of DCOM make great strides toward multi-tier computing. In examining multi-tier architectures, it is important to discuss the advantages of this approach in detail, and, in addition, to look at the areas where Windows NT and DCOM can be enhanced with additional tools to answer the challenges of development in this environment.

Borland is able to provide a product which complements and expands upon the services offered by Windows NT 4.0- Borland MIDAS: Multi-tier Distributed Application Services Suite. With Borland MIDAS, Borland is providing a suite of middle-tier application services that extend the operating system standards. These services are designed to solve particular distributed computing challenges, ranging from directory services designed to locate applications on the network, to database integration and business rule processing. Click here for the white paper titled "An overview of Borland MIDAS."

Borland is able to provide this technology due to its traditional expertise in development tools and component models, and technologies brought to Borland by the Open Environment Division. The Open Environment Division's Entera product provides an open and flexible architecture that will last well into the next decade. The infrastructure built with Entera gives a scalable environment for deploying enterprise-wide applications that integrate multiple GUIs and multiple data sources into a fully distributed computing environment.

Building Scalable Applications with Windows NT and DCOM

With the release of Windows NT 4.0, Microsoft has provided a new set of technologies and services for developers to build multi-tier, intranet, and Internet applications. Windows NT 4.0 delivers the core of these capabilities via the Distributed Common Object Model (DCOM). As DCOM is an extension of COM, a brief discussion of COM is in order.

Applications that run on Windows 95 and Windows NT have protected memory spaces. This ensures that one application cannot access the memory occupied by another application. While, in general, this is an appropriate model, there are reasons to provide a level of communication between applications. This communication level is provided in Windows 95 and Windows NT via COM. COM provides the protocol allowing one application to interact with another application on the same machine. The figure below depicts the COM architecture.

COM architecture

Now that COM has provided the ability to communicate with another application running on the same machine, the next step is to provide the ability to communicate with an application running on a different machine within the network. This is essentially what DCOM provides. The figure below graphically represents the DCOM architecture:

DCOM architecture

DCOM has many benefits to an organization beyond simply providing the ability to create networked applications. The section below will point out some of the benefits of DCOM, and continue with a discussion of some of the areas where DCOM can be enhanced with other tools.

  • Language Neutrality

  • If an application is written with Delphi, it can be called and used from a Visual Basic application. This insulates the developers from being locked into one tool, allowing them to select the best tool for the job.

  • Connection Management

  • DCOM uses a reference counter to determine how many clients are connected to a particular server. Thus, when a new client is added to the list, the counter is incremented, and conversely, when a client disconnects from the application server, the reference is decremented. When the reference counter goes to zero, the application will close. When an application server is not already running, DCOM will launch the application and set the reference counter appropriately.

    If a client is to disconnect without decrementing the reference count, there must be a way for the server to automatically decrement the reference count. This is accomplished by the server "pinging" the client. If the server fails to "ping" the client three successive times, the connection is considered closed and the reference count will be adjusted.

  • Multiple Interfaces

  • DCOM is primarily implemented through the use of interfaces. Interfaces are the exposed methods and properties of a particular object. There can be many interfaces to the same object. This provides the ability to customize an object without necessarily redeveloping it. This becomes especially important when the object requires additional functionality that only a subset of the clients require. In this situation, the developer can use the same implementation with different interfaces. One interface can provide the base set of functionality; the other can provide the enhanced functionality. This can be accomplished even though the actual implementation may be exactly the same.

  • Integration with other network protocols

  • Because DCOM is based on simple TCP/IP and RPC protocols, application servers can be called from anywhere on the Internet using basic TCP/IP or other TCP-based protocols (such as PPTP (Point to Point Tunneling Protocol)) for dial-in users, or HTTP for Internet users. By supporting the lowest level of network interoperability, DCOM's network communication is transparent to the applications. This provides many different network options to the developer in deciding the best connectivity for the application.

Now let's take a look at some of areas of DCOM that could benefit from the addition of other tools.

Summary

Microsoft's implementation of DCOM has made a great step towards the effort of multi-tier computing. However, there are additional challenges left unsolved by Windows NT 4.0 and DCOM. These areas include load balancing, fail-over, fault tolerance and database integration. Borland's Delphi 3 Client/Server and Borland MIDAS products address these areas with technologies such as the Business Object Broker , Remote DataBroker and ConstraintBroker. Click
here for the white paper titled "An overview of Borland MIDAS."

Return to MIDAS Home Page

 
Site Map Search Contact