⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dag_into.htm

📁 JBuilder 5 的中文版帮助文档
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>开发分布式应用程序</title>
</head>
<body bgcolor="#fefef2" style="FONT-SIZE: 9pt">

<STRONG><FONT color=#0080FF size=3 >开发分布式应用程序</font></strong>
&nbsp;  
<hr>
<p>
译者名字: qiandeng(JD017)<br>            
邮件地址:<A href="mailto:qiandeng@163.net">qiandeng@163.net</A>
<!--BNDX="distributed applications:overview;Java Remote Method Invocation (RMI);RMI;CORBA;VisiBroker;Interface Definition Language. See also IDL;distributed applications:creating"-->    
</p>
<blockquote class="bsku">
  <font color="#FF0000">
  这是JBuilder企业版才有的功能。</font>
</blockquote>
<p><a name="Developing_CORBA_RMI_Enterprise_and_Web_applications_using_JBuilder" target="_blank"></a><!--BNDX="Common Object Request Broker Architecture. See also CORBA;IIOP interfaces;ORB (Object Request Broker);Internet InterORB Protocol. See also IIOP"-->
</p>
<p>JBuilder对分布式应用开发提供了很好的支持。在JBuilder开发环境开发分布式应用将更加简单。它会帮你自动创建许多多层应用所必须的文件,你只要在上面增添你的商业逻辑代码就可以了。</p>
<p>这本指南是给一些熟悉分布式开发的人准备的,如果你认为自己还不是很熟悉,或是想参考一些第三方的书籍,则在Borland公司的站点上推荐了几本好书: 
<a href="../../../www.borland.com/visibroker/books/default.htm" target="_blank">http://www.borland.com/visibroker/books/</a>.</p>
<p>下列技术将在这本指南进行讨论:</p>
<ul>
  <li>通用对象请求代理体系(Common Object Request Broker Architecture 
    (CORBA))
    <p>CORBA是一种开放的分布式计算的解决方案。工业组织Object 
    Management Group (OMG),设计和规范了CORBA和Internet InterORB Protocol 
    (IIOP协议)标准, the standard communication protocol between Object 
    Request Brokers (ORBs). To read the specification, 访问OMG的Web站点<a href="../../../www.omg.org/default.htm" target="_blank">http://www.omg.org/</a>,你可以得到一些有用的信息。</p>
    <p>CORBA的主要优势是客户端和服务器端可以用任何一种程序语言书写。这是因为对象统一用IDL(Interface 
    Definition Language)语言来定义,然后在对象,客户端,服务器端用ORB( 
    Object Request Brokers)来代理。</p>
    <p>JBuilder对分布式应用开发提供了很好的支持。在JBuilder开发环境开发分布式应用将更加简单。它会帮你自动创建许多多层应用所必须的文件,你只要在上面增添你的商业逻辑代码就可以了。</p>
    <p>对于创建CORBA应用程序的一些步骤,你可以参看 <a href="../../../us.f202.mail.yahoo.com/ym/CORBA_tutorial.html" target="_blank">&quot;Exploring 
    CORBA-based distributed applications in JBuilder.&quot;</a> 
    。如果你安装了Borland AppServer,你可以在<code>Borland/AppServer/examples/vbj</code> 
    目录发现一些用IDL接口创建的一些CORBA示例。</p>
  <li>远程方法调用RMI(Remote Method Invocation)
    <p>使用RMI可以创建Java-to-Java的分布式应用程序。它可以让你在不同的机器上调用其他远程机器上的JAVA对象的方法。A 
    Java program can make a call on a remote object once it obtains a reference 
    to the remote object, either by looking up the remote object in the 
    bootstrap naming service provided by RMI or by receiving the reference as an 
    argument or a return value. A client can call a remote object in a server. 
    That server can also be a client of other remote objects. RMI uses object 
    serialization to marshal and unmarshal parameters and does not truncate 
    types, supporting true object-oriented polymorphism.</p>
    <p>文章&quot;Java Remote Method Invocation - Distributed Computing for 
    Java (a White Paper)&quot; 很好的说明了如何使用JAVA RMI,你可以访问如下地址: 
    <a href="../../../java.sun.com/marketing/collateral/javarmi.html" target="_blank">http://java.sun.com/marketing/collateral/javarmi.html</a> 
    来学习。</p>
    <p>如何使用JBuilder创建RMI应用,请参看 <a href="../../../us.f202.mail.yahoo.com/ym/RMI_tutorial.html" target="_blank">&quot;Exploring 
    Java RMI-based distributed applications in JBuilder.&quot;</a>。 JBuilderti提供了一些Java 
    RMI应用程序的示例。 一些示例文件在<code>samples/RMI</code> 
    目录,还有一些示例在 <code>samples/DataExpress/StreamableDataSets目录。</code></p>
  <li>定义接口(in Java)
    <p>在Java环境下VisiBroker合并了两种编译器编译CORBA的语言,编译器允许你用Java语言来定义Corba的接口 
    </p>
    <ul>
      <li><code>java2iiop</code>编译器允许你都在Java的环境下完成所有的工作。<code>java2iiop</code> 
        编译器使用Java语言并产生IIOP-compliant stubs和skeletons。这个编译器还允许你使用Java对象的扩展结构。<br>
        <br>
      <li><code>java2idl编译器根据你的</code>IDL文件来产生Java代码, 
        允许你自由的选择客户端的设计语言(前提是他要支持Corba)。编译器映射了IDL到Java接口,所以你在客户端使用同一个IDL文件编译,就可以访问JAVA的Corba对象了。</li>
    </ul>
    <p>在JBuilder了如何使用这些编译器,请参看 <a href="../../../us.f202.mail.yahoo.com/ym/caffeine.html" target="_blank">&quot;Defining 
    interfaces in Java.&quot;</a></p>
  </li>
</ul>
<p>关于多层开发的其他帮助如下:</p>
<ul>
  <li><a href="../../../us.f202.mail.yahoo.com/ym/orbservicessetup.html" target="_blank">&quot;Setting 
    up JBuilder for CORBA applications&quot;</a>
    <p>描述了在JBuilder使用VisiBrokr或者OrbixWeb该如何设置。</p>
  <li><a href="../../../us.f202.mail.yahoo.com/ym/distdebugging.html" target="_blank">&quot;Debugging 
    distributed applications&quot;</a>
    <p>解释了该如何对JBuilder的远程对象排错。</p>
  <li><a href="../../../us.f202.mail.yahoo.com/tutorials/remotedebug/remote_dbtutorial.html" target="_blank">&quot;Remote 
    debugging tutorial&quot;</a>
    <p>Walks you through the process of attaching to a program already running 
    on a remote computer and debugging it.</p>
  </li>
</ul>
<p>你应该定期的去访问Borland公司的JBuilder技术官方站点 <a href="../../../www.borland.com/techpubs/jbuilder/default.htm" target="_blank">http://www.borland.com/techpubs/jbuilder/</a> 
来更新你的文档和关于分布式应用的一些资料。这个在线帮助系统可以从JBuilder的帮助菜单激活。并可以打印这些更新的消息。</p>
<p>如果你对分布式开发有疑问,你可以参加CORBA-RMI新闻组:borland.public.jbuilder.corba-rmi,地址 
<a href="../../../www.borland.com/newsgroups/default.htm" target="_blank">http://www.borland.com/newsgroups/</a>.</p>

</body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -