Re: swing rich client/Cayenne/data binding/IoC etc.

From: Pierre Gilquin (pgilqui..luewin.ch)
Date: Mon Jan 16 2006 - 12:48:37 EST

  • Next message: Chronos: "Re: Query - IN"

    Florijan Stamenkovic developed a framework of Swing components that are EOF aware.
    I not even newbie with Cayenne but I guess, this should be easy to port to Cayenne

    May be it will be enough to exchange takeStoredValueForKey/storedValueForKey by Cayenne equivalent : readProperty/writeProperty

    You can find it at http://wocode.com/ under the name "Swing + EOF"

    Pierre
      ----- Original Message -----
      From: Tomi NA
      To: cayenne-use..bjectstyle.org
      Sent: Monday, January 16, 2006 6:18 PM
      Subject: swing rich client/Cayenne/data binding/IoC etc.

      Hi everyone,

      what I'm looking for is probably a good binding framework, because I'd like to be able to routinely and simly do the following:
      - load a List of (Cayenne) domain objects into a Component (Table, List, whatever)
      - fill textfields, comboboxes and the like onSelect of an e.g. table row
      - propagate changes from these visual components to the domain objects
      - be able to provide some sensible (setter level?) basic data validation

      The longer, uncut version....
      I was wondering if someone might be willing to share his/her approach to building swing, rich client, data driven applications.
      I must confess I'm fairly new to the subject and am awed by it's complexity: the number of binding frameworks, possible application of IoC as a way to simplify the code, the (now obviosly) infamous complexity of swing itself and a couple of other things along the way. At the same time, my collegues working in .net (I'm really not trying to start a flame war here) use a - not trivial, but certainly not very complex - inbuilt data binding implementation which, for the most part, "just works".
      I hope to benefit from the opinions and comments of people who have produced such applications as I'm sure there are benefits to be found in using something like JDNC/SwingLabs or JGoodies Binding together with Spring or HiveMind and so on.

      TIA,
      Tomislav



    This archive was generated by hypermail 2.0.0 : Mon Jan 16 2006 - 12:48:40 EST