Visual Basic.NET
  Home arrow Visual Basic.NET arrow Page 2 - Building a Robust and Highly Scalable Dist...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
VISUAL BASIC.NET

Building a Robust and Highly Scalable Distributed Architecture using VB.NET
By: Jagadish Chaterjee
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 42
    2004-11-22

    Table of Contents:
  • Building a Robust and Highly Scalable Distributed Architecture using VB.NET
  • A Brief Discussion on Architectural Considerations
  • Architecture Implemented
  • How to Test COM Serviced Component
  • How to Test Remoting Component Without Using Windows Service
  • How to Test Remoting Component Using Windows Service

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Building a Robust and Highly Scalable Distributed Architecture using VB.NET - A Brief Discussion on Architectural Considerations


    (Page 2 of 6 )

    Architecture is design, but not all design is architecture. The architectural style with which you build an embedded, event-driven, hard, real-time system will be quite different than what you'd use for a globally distributed GUI- and data-intensive system for the enterprise. 

    One of the most useful architectural styles for software that you'll find is the three-tiered architecture. This is a layered architecture in which layers close to the user build upon lower layers that are closer to the machine. For many globally distributed GUI- and data-intensive systems for the enterprise, you'll find the following three tiers:

    1. User Services, which format the information, and present it to the user.

    2. Business Services, which implement the system's business rules.

    3. Data Services, which maintain the Customer and Catalog Data of the application.

    Almost every experienced programmer can easily understand the above tiers. But the problem is figuring out what technologies are to be considered at what tier using .NET technologies. I am not going to talk about Microsoft’s suite of servers (like BizTalk Server, Commerce Server, Content Management Server, Share Point Portal Server, etc.) or EAI (Enterprise Application Integration). I just wanted to consider “what .NET Enterprise Services can be considered at what tier.

    • COM+ is well suitable for automatic database connection pooling (and even object pooling), and automatic management of distributed transactions across different databases.

    • .NET remoting is pretty fast in performance when compared with DCOM in remote access. It is very well suited for intranet applications (or inter-process communications) with high yield in performance.

    • Windows Services are very good for providing long running services (like SQL Server Service Agent).

    • XML Web Services are very good for providing services over the Internet.

    • MSMQ Services are very good for maintaining continuous flow of communications between connected applications.

    Mostly Data Services are handled by an RDBMS (along with server side programming like store procedures, triggers etc). But it is always suggestible to open as few database connections as possible when working with data (which requires connection pooling). In this scenario, it is recommended to use COM+ services which act as mediator (Data Access Layer) between Business Services and Data Services (just like an n-tier) just to make use of automatic pooling and automatic transaction handling.

    Business Services can be implemented using any of COM+, Remoting or Web Services. MSMQ can be implemented in almost all of those technologies. But the selection of a technology among them gives an impact on future expansions or enhancements of existing architecture. Web Services are always good for expansion to web, but slow in performance when compared with Remoting. Another wonder is that even a COM+ or Remoting component can be exposed as Web Services (with the help of SOAP headers). Remoting would be more powerful if you integrate them with Windows Services. So I considered Remoting with Windows Service in this scenario, although it's not necessarily the best.

    User Services can be implemented in many ways right from Windows Forms (desktop application) and Web Forms (Web application) to mobile, handheld, or embedded development environments. In this scenario, I just considered a simple Console application acting as Remote Client.

    More Visual Basic.NET Articles
    More By Jagadish Chaterjee


       · I'm not seeing a fig 6.
       · The image was found and placed in the article. We apologize for any inconveniences...
       · Hello,Please in your article regarding the above message title, you did mention...
       · The link is on the first page itself or...
     

    VISUAL BASIC.NET ARTICLES

    - User-defined Functions using Visual Basic Ap...
    - Understanding Object Binding in VBA
    - Mastering the Message Box
    - Testing a Windows Forms Application
    - Using Visual Basic.NET Features to Code a Wi...
    - Correcting Code in a Windows Forms Applicati...
    - Write Readable Code and Comments for Windows...
    - How to Code and Test a Windows Forms Applica...
    - Adding Features to a Windows Forms Applicati...
    - How to Design a Windows Forms Application
    - LINQ to XML Programming Using Visual Basic.N...
    - Understanding Delegates using Visual Basic.N...
    - Create a Sudoku Puzzle Generator using VB.NET
    - Entity Creation and Messaging in a VB.NET Te...
    - Movement and Player Statistics in a VB.NET T...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek