l Roaming Support -provide higher speed and no break network connection l Switch Support -Use IXP Processor to provide Load balance Environment l Streaming Support -This mechanism is developed on the language layer, so that users can develop streaming program avoiding addition overhead
Streaming support of NET Remoting
Overview of Java RMI Advantage: Support seamless remote invocation on objects in different computer l Disadvantage: Each Call must go through the Internet l
Compare Java RMI and NET Remoting l NET Remoting have more flexibility than RMI l In server side, they have different behavior ¡ NET: Each remoteobj open port to listen client request ¡ RMI: Each remoteobj must register in order to let client can loop up to find it.
Streaming Support of Java RMI Let Java RMI have Streaming ability l Reduce time of Network communication l
How to modify Java RMI l Streaming ¡ Let its hide in the stub l Modify ¡ Controller &Streaming Buffer the registry Let client look up registry can get more than one source
Example { Stream. Data obj call must go =Naming. lookup(id); Each through internet whlie(true){ num=obj. read(data, 512); if(num==0)break; process(data); } } { Stream. Data obj =Naming. lookup(id); Before go through internet, check the whlie(true){ local buffer obj. Initialize(…); num=obj. read(data, 512); if(num==0)break; process( data); } }