Re: ROP Question

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Dec 04 2007 - 17:37:40 EST

  • Next message: Fredrik Liden: "Ordering using fields from multiple objects"

    On Dec 5, 2007, at 12:26 AM, Aristedes Maniatis wrote:

    > I guess you could connect the client to the server at 127.0.0.1 and
    > make it work like that, even if the client and server are compiled
    > together into a single application. It would be interesting to see
    > which parts you might be able to strip out. I could imagine ways you
    > might be able to remove Jetty from the picture and hook the client
    > and server bits directly together.

    Ari, Adrian --

    Check out LocalConnection:

    http://cayenne.apache.org/doc/api/org/apache/cayenne/remote/service/LocalConnection.html

    While having ROP stack on top of the regular Cayenne stack may not be
    super efficient, at least LocalConnection eliminates the need for the
    TCP communication and object serialization. So it may work just fine
    for single user apps. I've been using it successfully internally to
    build ROP unit tests.

    Andrus



    This archive was generated by hypermail 2.0.0 : Tue Dec 04 2007 - 17:38:17 EST