Distributed Database System-Implementation of business travel booking system (2)

Source: Internet
Author: User

Server and Communication Design

RemotingThe technology can transmit data based on two communication protocols:TCPAndHTTP. This system design usesTCP.

Figure. remoting communication process

according to the design requirements of this course, the servers for data storage and processing include 5 values: carremoteservice , deleteservice , flightremoteservice , customerremoteservice , reservationremoteservice . Based on five data-type servers, this design adds a global server dedicated to transaction processing and various operations globalremoteservic .

This design applicationDOTNETInCOM +Technology and efficient useCOM +The component encapsulation Technology ensures the security of software development. This design createsCOM +Components, which encapsulate the interface methods exposed to the client by all servers. On the server side, you only need to write the services to be provided to the client in the interface corresponding to the component, the client also needs to reference this interface set to call the methods provided by the server.

Figure. The project list shows the structure and deployment of the entire system.

 

Figure. The interface for each server is implemented in the COM + component remotingserverdll

 

Figure. The interface implementation classes of each server are under your own project, which improves the interface implementation class during development.CodeSecurity

Related Article

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.