RE: Cayenne vs EOF: How to questions?

From: Gentry, Michael \(Contractor\) ("Gentry,)
Date: Fri Feb 11 2005 - 10:51:07 EST

  • Next message: Michael Mangus: "RE: newbie with Cayenne Quick Start > Tapestry Tutorial"

    Just to beat on the drums some more, Cayenne is my new EOF. With the
    1.1 version, Cayenne really became capable of replacing EOF (optimistic
    locking, etc) for my needs. The GUI modeler is useful (compare to open
    source ORM frameworks). The framework and modeler are under active
    development. Plus, you have the source code. Let me repeat: You have
    the source code! I've been able to step through the code in the Eclipse
    debugger to figure out what was going on (usually my mistake, but
    sometimes you catch a Cayenne bug and when you report the problem, which
    you can do with great precision, it gets fixed -- quickly). The mailing
    lists are great. There is an energy here that is missing with EOF/WO.
     
    I've started using Tapestry a bit, too. I'm by no means an expert, but
    it seems to be WO-like. Has some nice things compared to WO, but lacks
    some things in WO, too (can't reuse bindings is a big annoyance).
    Cayenne works great inside Tapestry. Cayenne + Tapestry + Tomcat: Free.
    Having the source code: Priceless.
     
    /dev/mrg
     

            -----Original Message-----
            From: Dov Rosenberg [mailto:dov.rosenber..onviveon.com]
            Sent: Thursday, February 10, 2005 7:52 PM
            To: cayenne-use..bjectstyle.org
            Subject: Re: Cayenne vs EOF: How to questions?
            
            
            That is good to hear. How dramatic of a change is it to move
    from EOF to Cayenne? Are you using Tapestry as well? Have you come
    across anything that has given you pause about Cayenne?
            
            Thanks in advance
            
            
            --
            Dov Rosenberg
            Conviveon Corporation
            http://www.conviveon.com
            
            
            
            
            On 2/10/05 6:37 PM, "Bryan Lewis" <brya..aine.rr.com> wrote:
            
            

                    On the first question, I'm currently converting several
    old apps from WebObjects 4.5 to Cayenne and have had no trouble keeping
    our old flattened relationships. See the user's guide:
                    
            
    http://objectstyle.org/cayenne/modelerguide/modeling-object-layer/flatte
    nedrel.html
                    
                     
                    

                            
                            ----- Original Message -----
                             
                            From: Dov Rosenberg
    <mailto:dov.rosenber..onviveon.com>
    <mailto:dov.rosenber..onviveon.com>
                             
                            To: cayenne-use..bjectstyle.org
                             
                            Sent: Thursday, February 10, 2005 5:52 PM
                             
                            Subject: Cayenne vs EOF: How to questions?
                             
                            
                            A few questions on the capabilities of Cayenne
    as compared to Apple EOF
                            
                             
                            

                            1. Does Cayenne support flattened
    relationships like EOF? If so, what is the equivalent?
                            2. I understand that Cayenne does not
    currently support EOPrototypes to make it easier to switch between
    databases, what is the Cayenne preferred method for supporting multiple
    databases? Seems like it has something to do with DataMaps. Not sure
    though
                            3. How can I programmatically swap out my
    connection dictionary at application startup? I.e. Allow me to store
    userid/password in separate file from the cayenne.xml and update them
    when the app starts up.
                            4. Is there a hook for generating primary
    keys on the client side similar to what we currently do with a
    DatabaseContextDelegate and our own guid generator?
                            5. Is there any Cayenne support for doing
    lightweight, high volume SQL processing (i.e. For batch updates)? EOF
    has too much overhead for large amounts of sql processing in batch
    mode. Ideally a smarter version of RawRowsForSQL that doesn't create
    all the objects in an object graph.
                                    

                            
                            Thanks in advance.
                            
                            

            
            



    This archive was generated by hypermail 2.0.0 : Fri Feb 11 2005 - 10:51:12 EST