Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Best method of transferring data between server and client

    Hi All,

    I would like to know your opinions of this question.

    I cannot transfer jpa entities over serializitaion, because there are some restrictions. Yes I know, there is a jpa-annotation-source.jar for it. I tried it, but it cannot transfer beans, for example when I set Fetch.LAZY.

    So I need a transformation from Bean to DTO, to transfer to client side.

    In client side I use Datasource, which needs ListGridRecord[], it is the second transformation.

    My question is that:

    Should I send ListGridRecord[] from server to client over serialization,
    or is the ListGridRecord too large for it?

    Is it cheaper then double transformation?

    I see the JSON and XML rpc, but I cannot find any SmartGwt example:(

    thx a lot
    Zamek
Working...
X