home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / SG244883.ZIP / 2_7.4 < prev    next >
Text File  |  2001-01-27  |  7KB  |  162 lines

  1. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
  2. <HTML>
  3. <HEAD>
  4. <base href="http://publib.boulder.ibm.com:80/cgi-bin/bookmgr/BOOKS/EZ30OZ00/2.7.4">
  5. <title>
  6. 2.7.4 "OS/2 WARP and OpenDoc" 
  7.   via IBM BookManager BookServer
  8. </title>
  9. </head>
  10. <body background="/bookmgr/backdrop.gif">
  11. <banner><br>
  12. <a href="../../library"><img src="/bookmgr/libicon2.gif" border=0 alt="[Library]"></a>
  13. <a  href="CONTENTS#2.7.4"><img src="/bookmgr/contents.gif" border=0 alt="[Contents]"></a>
  14. <img src="/bookmgr/drevs.gif" border=0 alt="[Revisions]">
  15. <a href="2.7.3"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
  16. <a href="2.7.5"><img src="/bookmgr/next.gif" border=0 alt="[Next Topic]"></a>
  17. <a href="../../search?book=EZ30OZ00"><img src="/bookmgr/search.gif" border=0 alt="[Search]" ></a>
  18. <img src="/bookmgr/dslist.gif" border=0 alt="[Search Results]">
  19. <img src="/bookmgr/dsprev.gif" border=0 alt="[Prev Topic Match]">
  20. <img src="/bookmgr/dsnext.gif" border=0 alt="[Next Topic Match]">
  21. <img src="/bookmgr/dnotes.gif" border=0 alt="[Notes]">
  22. <img src="/bookmgr/dlnotes.gif" border=0 alt="[List Notes]">
  23. <a  href="../../print?book=EZ30OZ00"><img src="/bookmgr/print.gif" border=0 alt="[Print]"></a>
  24. <a href="../../download/EZ30OZ00.boo"><img src="/bookmgr/download.gif" border=0 alt="[Download]" ></a>
  25. <a  href="../../help/book"><img src="/bookmgr/help.gif" border=0 alt="[Help]"></a>
  26. <hr>
  27. <a name="HDR4610DDI"><H3> 2.7.4   Distributed SOM</H3></a>
  28. </banner>
  29. <pre width="80">
  30. <p>
  31.    SOM technology insulates the object client from the object's 
  32.    implementation.  The power of distributed SOM lies in the fact that 
  33.    distributed SOM insulates the object client from the object's location. 
  34. <p>
  35.    Distributed SOM allows application programs to access objects across 
  36.    address spaces.  That is, application programs can access objects in other 
  37.    processes, even on different machines.  Both the location and 
  38.    implementation of an object are hidden from a client, and the client 
  39.    accesses the object (through method calls) in the same manner regardless 
  40.    of its location.  Distributed SOM can be characterized in the following 
  41.    two ways: 
  42. <p>
  43. <p>
  44.    ░   As an extension to the system object model, that allows a program to 
  45.        invoke methods on SOM objects in other processes. 
  46. <p>
  47.    ░   As an object request broker (ORB), that is, a standardized transport 
  48.        for distributed object interaction.  In this respect, distributed SOM 
  49.        complies with the Common Object Request Broker Architecture (CORBA) 
  50.        specification. 
  51. <p>
  52. <p>
  53. <a name="FIG4610D07"><hr>
  54.  </a>
  55. <p>
  56. <p>
  57.                                    <a href="picture-40?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P40.GIF" alt="PICTURE 40"></a>           
  58. <p>
  59.    Process Communication (IPC) 
  60. <p>
  61. <hr>
  62.  
  63.    Figure 40. Local DSOM Object Requests to Other Processes Using Inter 
  64. <p>
  65.    Some of Distributed SOM's more important features include the following: 
  66. <p>
  67.    ░   Uses the standard SOM Compiler, Interface Repository, language 
  68.        bindings, and class libraries.  Distributed SOM provides a growth path 
  69.        for non-distributed SOM applications. 
  70. <p>
  71.    ░   Allows an application program to access a mix of local and remote 
  72.        objects.  The fact that an object is remote is transparent to the 
  73.        program. 
  74. <p>
  75.    ░   Supports both interprocess communication in the same system, as shown 
  76.        in <a href="#FIG4610D07">Figure 40</a>, and remote transport across systems, as shown in 
  77.        <a href="#FIG4610D08">Figure 41</a>. 
  78. <p>
  79.    ░   It is protocol independent, supporting TCP/IP, Netbios, IPX and can be 
  80.        extended for other protocols. 
  81. <p>
  82.    ░   It is platform independent supporting OS/2, AIX, Windows, Macintosh, 
  83.        HP/UX, OS/400, and MVS. Other platforms are under considerations. 
  84. <p>
  85. <p>
  86.    The local DSOM support on one machine is delivered together with the SOM 
  87.    2.1 run time with OS/2 Warp Version 3. 
  88. <p>
  89. <a name="FIG4610D08"><hr>
  90.  </a>
  91. <p>
  92. <p>
  93.                                    <a href="picture-41?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P41.GIF" alt="PICTURE 41"></a>           
  94. <p>
  95. <p>
  96. <hr>
  97.  
  98.    Figure 41. Remote Object Requests to Other Machines 
  99. <p>
  100.    The way DSOM is hiding the complexity of client/server programs to its 
  101.    clients is done by a clever proxy technology.  DSOM is creating, during 
  102.    run time, an instance of a proxy class within in the address space of the 
  103.    client process. This proxy implements the interface of the addressee class 
  104.    on the remote machine. But the interface is overridden in a way that all 
  105.    requests are transparently forwarded to the target object. 
  106. <p>
  107. <a name="FIG4610D35"><hr>
  108.  </a>
  109. <p>
  110. <p>
  111.                                    <a href="picture-42?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P42.GIF" alt="PICTURE 42"></a>           
  112. <p>
  113. <p>
  114. <hr>
  115.  
  116.    Figure 42. DSOM Object Communication 
  117. <p>
  118.    Using DSOM, the same interface of an object can be used without 
  119.    modifications, running locally in the same address space as other client 
  120.    objects or on a remote server. 
  121. <p>
  122.    No client/server code has to be included.  CORBA technology is not only 
  123.    great for objects being distributed somewhere in the network, it is also a 
  124.    great integration technology, wrapping and encapsulating legacy 
  125.    applications as shown in <a href="#FIG4610D10">Figure 43</a>.  The interfaces of legacy applications 
  126.    can be described in IDL and then used and integrated by SOM/DSOM from 
  127.    other applications. 
  128. <p>
  129. <a name="FIG4610D10"><hr>
  130.  </a>
  131. <p>
  132. <p>
  133.                                    <a href="picture-43?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P43.GIF" alt="PICTURE 43"></a>           
  134. <p>
  135. <p>
  136. <hr>
  137.  
  138.    Figure 43. Integration of Legacy Applications Using DSOM 
  139. <p>
  140.    DSOM can be used for OpenDoc to have flexible access to distributed 
  141.    components as shown in <a href="#FIG4610D40">Figure 44</a>. 
  142. <p>
  143. <p>
  144. <a name="FIG4610D40"><hr>
  145.  </a>
  146. <p>
  147. <p>
  148.                                    <a href="picture-44?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P44.GIF" alt="PICTURE 44"></a>           
  149. <p>
  150. <p>
  151. <hr>
  152.  
  153.    Figure 44. DSOM and OpenDoc 
  154. </pre>
  155. </pre>
  156. <hr>
  157. <br><a href="2.7.3"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
  158. <a href="2.7.5"><img src="/bookmgr/next.gif" border=0 alt="[Next Topic]"></a>
  159. <cite>  ⌐ Copyright IBM Corp. 1996</cite>
  160. <HR><p><h6><a href="/cgi-bin/bookmgr/library">IBM BookManager« BookServer</a> Copyright 1989, 1999<a href="http://www.ibm.com/"> IBM</a> Corporation.  All rights reserved.</h6><p>
  161. </BODY></HTML>
  162.