Results 1 to 3 of 3

Thread: Entity serialization and transient fields

  1. #1
    Join Date
    Mar 2006
    Posts
    15

    Default Entity serialization and transient fields

    How are managed the serialization of entity created with roo ?
    is the entitymanager and other addition treated as transient ?

    If i add several finders to an entity how it will perform in a
    network serialization ?

    Thank you !

  2. #2
    Join Date
    Mar 2006
    Posts
    15

    Default

    Too be more precise can we use Spring Http invoker with Roo ?

  3. #3
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    Generally I would recommend using DTOs if you want to serialize entity data, when using JPA in general. Addresses potential lazy loading issues etc. You can look at automating it, for example with Dozer - http://dozer.sourceforge.net/documentation/whymap.html.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •