Re: CayenneDataObjects across RMI

From: Todd O'Bryan (toddobrya..ac.com)
Date: Wed Sep 21 2005 - 20:43:49 EDT

  • Next message: Damir Bijuklic: "Re: Registering extended types"

    On Sep 14, 2005, at 7:36 PM, Andrus Adamchik wrote:

    > Joshua is entirely correct. Let me fill in some details.
    > Essentially there are three cases:
    >
    > 1. Your RMI client needs persistence features and is allowed to
    > access database directly. In this case Cayenne serialization
    > mechanism (deserializing HOLLOW objects) should work fine. Just
    > serialize the whole DataContext instead of individual objects.

    This worked great. We just put a getDataContext() method in the
    ServerImplementation and magically everything travels back and forth
    across the bridge. Way cool!

    Todd



    This archive was generated by hypermail 2.0.0 : Wed Sep 21 2005 - 20:44:01 EDT