Hello, I am testing Seamless project (https://github.com/dionisiydk/Seamless) 
but I did not understand one thing:

I have (for example) a Person class in my server and client image. Person class 
implements:

Person>>sseamlessDefaultTransferStrategy
        ^SeamlessTransferStrategy defaultByValue

so all Person instances are serialized from server to client image. Good.

But when I have server method, for example, getPersons, that returns a 
collection (OrderedCollection) of Person instances, this collection is passed 
by reference (or not?).
OrderedCollection inherits transfer strategy from Object, which is "by 
reference".

So in client image, when I iterate this collection, too many (thousands) 
requests occurs.

How to manage only this specific collection (returned from getPersons) to pass 
by value from server to client (to be completely serialized and copied to the 
client image), so when I iterate this collection in client image to avoid 
additional network requests (proxying)?

Thanks! pf

Reply via email to