Re: Testing Spring + Cayenne Integration / Architectural Doubts

From: André Luiz do Nascimento Sousa (andresous..aixaseguros.com.br)
Date: Wed Jan 19 2005 - 08:59:22 EST

  • Next message: André Luiz do Nascimento Sousa: "Re: POJO"

    Hi, Andrus,


    "...object that doesn't have any contextual reference. So I guess POJOCayenne
    will have many of the problems of Hibernate."
    
    	I'm looking for some comments about the "problems of Hibernate". All the massive marketing that arounds it doesn't allow us to know its weakness. Could you (and anybody else) list and compare these problems? And another question: What do you think about the new EJB 3.0 spec?
    
    	Sorry, but I need those answers so that I can try to argue with my team about the right ORM choice.  :-P 
    
    	I could try to be volunteer as a developer, even knowing that I'm not a kind of expert as some of you are  :-) .
    
    	Thanks.
    
    André Luiz - Brasil
    
          



    Andrus Adamchik wrote:
    I never suggested using DTO and I can continue arguing my point, but I
    won't ;-) I can see how Cayenne can achieve much wider acceptance if we
    simply add POJO to the feature list. The trick is to find a good
    compromise between current Cayenne featureset (automatic property change
    tracking, faults, DataContext abstraction) and the reality of a Java
    object that doesn't have any contextual reference. So I guess POJOCayenne
    will have many of the problems of Hibernate.
    
    What are the options... Custom implementation of current DataObject
    interface is possible, but not a reasonable thing to ask (besides there is
    a CayenneDataObject already, so what's the point). We can also "go JDO"
    with bytecode or sourcecode enhancements of the POJOs, but I'd rather
    not... Or we can strip down DataObject interface to something that can be
    easily added to any class... or get rid of it alltogether.
    
    I can't say anything about the schedule for this feature, as I am
    overloaded with work now. But if anyone has a need and desire for it to
    happen, volunteers are always welcome. If there are indeed volunteers, why
    don't we take this discussion to cayenne-devel and I'll share more ideas
    on how we can proceed?
    
    Andrus
    
    
      



    This archive was generated by hypermail 2.0.0 : Wed Jan 19 2005 - 07:58:38 EST