发明名称 CREATING PROXIES FOR DISTRIBUTION OF BEANS AND EVENT OBJECTS
摘要 The invention provides a mechanism for distributing objects from a object or iented framework that permits method invocation and state information notification, such as e vent notification in a JavaBeans software component model. A code generation tool generates code fr om an existing server object that contains only application domain specific logic, to support depl oyment of the server object on a remote machine in a distributed application. The generated code include s a proxy class to reside locally with a client program that might invoke methods on the server object or receive notification of state information (events) from the server object, and a proxy class to b e remotely deployed with the server object. The proxies created provide all the middleware specific l ogics. More importantly, the proxy on the client side contains all of the public methods, properties and event interfaces of the server object, so that a client program using this proxy can invoke the serv er object's methods and register to receive notification of state information on the proxy as if it were interacting locally with the server object. A proxy on the server side communicates the client progra m's method invocations and registrations to receive event notifications to the server object as if this proxy were a local client. When an event notification is issued by the server object, it is received by the proxy on the client side which transmits the notification through the middleware of the distributed a pplication to the proxy on the client side. The proxy on the client side overrides the identification o f the source of the notification, substituting itself, to receive any requests for data on the s tate information from the client program, but then delegates such requests to the object containing the state information to be fulfilled.
申请公布号 CA2210755(C) 申请公布日期 2003.12.23
申请号 CA19972210755 申请日期 1997.07.17
申请人 IBM CANADA LIMITED-IBM CANADA LIMITEE 发明人 CHAN, VICTOR SHIH-CHUAN;YU, PAUL KWONG-HUNG
分类号 G06F9/46;(IPC1-7):G06F9/44;G06F13/00 主分类号 G06F9/46
代理机构 代理人
主权项
地址