-
1. Re: network traffic overload
adrian.brock Dec 27, 2001 1:02 PM (in response to guldimann)Hi,
This is a known problem with
java.rmi.MarshalledObject.
This class allows serialised objects to be passed over
the network and if the client doesn't have the class
for the object, rmi will retrieve the class from the
server.
However, the data passed to allow rmi to perform this
operation can get very large.
We are looking at different mechanisms that will avoid
using MarshalledObjects but this is still a Work in
Progress.
Regards,
Adrian -
2. Re: network traffic overload
fbiaggi Dec 27, 2001 1:49 PM (in response to guldimann)Hello,
Witch classes, Application or JBoss classes ? -
3. Re: network traffic overload
adrian.brock Dec 27, 2001 2:07 PM (in response to guldimann)Hi,
All classes.
One possible solution to this problem is to sub-class
Object(Input/Output)Stream to include a ClassLoader
that can talk back to the server when the class is
not available locally.
This avoids having use MarshalledObjects, and only
classes not available in the client are download
from the server.
Currently all objects have to be "marshalled" just
in case the client doesn't know about the its class.
Regards,
Adrian