A
Andoni
Hello,
I have an RMI server that takes certain actions on a bean that is passed to
it. Because a lot of beans are being sent over the wire to the RMI server
every day I want to try to keep down the size of the serialized bean.
I am not using a web server or class server to download stubs but instead I
just put a copy of all classes (and stubs) on each machine at deployment
time so that the only thing that needs to be passed over the wire is the
data in the bean. Now I have a decision to make. I want to add 3 big methods
to the bean because they should be part of this bean for the program to be
very OO compliant. I want to know, will this increase the amount of data
that has to be sent over the wire?
In short: are the methods of a serialized bean also serialized in some way
or is it only the data contained in the object or is it the data and the
method signatures?
Thanks in advance for any and all help,
Andoni.
I have an RMI server that takes certain actions on a bean that is passed to
it. Because a lot of beans are being sent over the wire to the RMI server
every day I want to try to keep down the size of the serialized bean.
I am not using a web server or class server to download stubs but instead I
just put a copy of all classes (and stubs) on each machine at deployment
time so that the only thing that needs to be passed over the wire is the
data in the bean. Now I have a decision to make. I want to add 3 big methods
to the bean because they should be part of this bean for the program to be
very OO compliant. I want to know, will this increase the amount of data
that has to be sent over the wire?
In short: are the methods of a serialized bean also serialized in some way
or is it only the data contained in the object or is it the data and the
method signatures?
Thanks in advance for any and all help,
Andoni.