分享
 
 
 

前沿技术 之 CORBA 3

王朝java/jsp·作者佚名  2006-01-08
窄屏简体版  字體: |||超大  

CORBA & Internet: How does it work?

Based on hypertext principles, the World Wide Web technology was developed as a technology standard for distribution and presentation of data. It let's you link documents that are located on different network nodes. WWW is based on the TCP/IP protocol, of course.

However, the developers at CERN in Geneva did certainly not expect the popularity that the WWW achieved meanwhile. With this popularity, more features were added including dynamic pages or to sending data from the client to the server for further processing. In 1995, the Common Gateway Interface (CGI) was introduced for that purpose. With CGI, the client send information via a file transfer mechanism to the server where the data is read and processed. The server side is usually implemented with the language PERL. To implement such a PERL interface is tedious and difficult. And once in operation, performance is poor. Additionally, dynamic dialogues between client and server are impossible due to the block-oriented nature of data transfer.

At this point, the "Internet Inter-ORB Protocol" (IIOP) enters the scene. Early versions (1.x) of CORBA did not specify an ORB-internal communication protocol. That is, every ORB vendor determined how its ORB would communicate internally. For that reason, it was impossible to send messages from one ORB to an object living in another ORB vendor's server process. Consequently, CORBA 2.0 defined IIOP. IIOP as a standardized protocol allows communication between different ORB-products. There was a proof of concept at Object World West in August 1995: object request brokers from more than a dozen ORB vendors communicated as they were a single system! Many different HW and OS platforms were involved and several implementation languages like C, C++ and Smalltalk.

Thanks to Java and ORBs supporting Java, the inter-ORB concept was taken to the Internet. Today, WWW-browsers can act as clients that access objects on the server via IIOP. The traditional WWW-protocol (HTTP) is not used anymore. The following figure depicts the bootstrapping of a IIOP connection between a client browser and the IIOP-server.

The client requests a HTML-page at the HTTP-server. The client loads it and recognizes that it references Java-code.

The client requests the Java classes at the HTTP-server. The downloaded classes in our example are not standard applets but "ORBlets". They enable the browser to communicate with the CORBA server. ORBlets are application level classes, e.g. a customer object proxy.

In case that the browser does not have the IIOP java archive, the server must download the basic IIOP classes, too.

The client establishes not the connection to the CORBA server. If done successfully, the client can send messages to objects living in the CORBA server, avoiding the HTTP/CGI bottleneck.

Advantages:

client and server communicate with much less overhead

server functions can have a return value

real Data Types - and not only strings - can be exchanged

the server side objects can be implemented in any language (where an CORBA 2.0 compliant ORB is available)

We don't want to give the impression here that IIOP is the infamous "Silver Bullet". Especially when used in Wide-Area-Networks, data often needs to be cached on the client and it is useful to do certain processing directly on the client-side, thus ??undermining a clean 3-tier-architecture. Security is another topic, but that's not specific to IIOP. CORBA offers here a great set of mechanisms (see our security page). However, it can be tricky to work around certain Internet security mechanisms that come with the browsers or with firewall products.

Besides these drawbacks, IIOP allows the Internet browser to act as a true application shell. Netscape recognized that and included the necessary ORB components in their client and server products. Microsoft goes a very similar way, but uses its proprietary ActiveX/DCOM technology instead of CORBA.

d-tec Distributed Technologies GmbH, 1998

摘自 Internet

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有