Click here to Skip to main content
12,881,253 members (30,473 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

4.6K views
2 bookmarked
Posted 1 Nov 2011

Multi-Language Programming: Distributed Object

, 1 Nov 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
Multi-language programming: Distributed object

If common object environment is deployed on different computers, it will become a distributed object environment. For the environment holds all information and parameters of interface objects, it can act as a proxy for distributed functions of objects. As a result, applications access these distributed objects as if they are located at local, and programmers do not need face with kinds of standards or interface of different languages. For environment supports multi-language, you can developed service using Java, C/C++, Lua, Python, etc., and call it from client side with other languages.

The above figure is a normal function call. If we distribute the environment on two computers, it will be a distributed environment, which is shown as follows:

The changes only occur on the environment. For applications, no matter whether they are client or server, may not be aware of these changes. For programmers, the environment helps them to solve many problems such as how to select standards and interfaces, or how to program, especially in the case when client side needs to communicates with different servers of different languages.

We put objects together, describe them, manage them and provide an environment to them. More and more functions can be added to the environment, rather than special languages realizing these objects. Common interface, common architecture, and all of these will simply program and freeing programmers from meaningless work.

Think about: you write a library in C/C++, then you have to rewrite it for Java, Python, etc. at some time later. Is it meaningful?

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

li9705
China China
No Biography provided

You may also be interested in...

Comments and Discussions

 
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170422.1 | Last Updated 1 Nov 2011
Article Copyright 2011 by li9705
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid