Results 1 to 5 of 5

Thread: JGoodies binding

  1. #1
    Join Date
    Sep 2004
    Posts
    13

    Default JGoodies binding

    I'm investigating mechanisms for binding views with JavaBeans. I have spent some time with JGoodies Binding (https://binding.dev.java.net/) and think it could be useful. I'm wondering if Rich Client has similar mechanism and if not, would there be any problem to inetegrate JGoodies Binding with Rich Client, which I just started to look at.

    Thanks!

    Bing Ran

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    335

    Default

    Bing,

    we do indeed have a binding framework. In fact, it closely resembles JGoodies binding; both rely heavily on "value models" and it would be fair to say that we've consciously tried to keep our interfaces similar to Karsten's.

    For some examples have a look at the source code for our sample application "pet clinic" and also check out:
    http://opensource.atlassian.com/conf.../Forms+Support
    http://www.clientjava.com/blog/2004/...919881000.html

    Ollie

  3. #3
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    Kartsen and I have both taken action to make it easier to use either binding library (his, or ours)--the designs are similiar, and we've purposefully aligned a good deal in terms of interfaces & terminology.

    While we've considered merging with Karsten's effort in entirety, as of this time we're continuing to innovate because binding is viewed as a core concern for us. To my knowledge, we have the most advanced bean binding implementation to date, notably because we are leveraging Spring to do it. This includes full support for fine-grained bean-based domain models, with nested/indexed/mapped properties.
    Keith Donald
    Core Spring Development Team

  4. #4
    Join Date
    Aug 2004
    Posts
    203

    Default

    I try jgoodies binding too and it's fine, but spring rcp is superior.My favorite features are

    validation - as you type
    nested bean binding - it is cool with o/r mapping like hibernate

    I don't like JFormattedField binding in jgoodies, but validation is after focus lost and user loose
    input

    regards

  5. #5
    Join Date
    Sep 2004
    Posts
    13

    Default

    Thank you all for the replies. I'm looking into rcp right now and hopefully I will see what I like to see, such as buffered value changes, commit values changes in batch and roll-back/reset etc.

    In the meantime I really like to use JGoodies Forms, especially after I have had very positive experience with JFormDesigner - I could easily lay out very complex forms with the tool, all with proper resizing behavior. I understand that the rcp builder support will creating bindings automatically when adding controls to the form. I'm windering if somehow I can "maunally" bind the controls from the designer generated forms to JavaBeans, so that I can take advantage the best of both world.

Similar Threads

  1. Enum binding not showing default
    By ge0ffrey in forum Swing
    Replies: 3
    Last Post: Jan 23rd, 2006, 09:08 AM
  2. Replies: 7
    Last Post: Sep 13th, 2005, 01:45 AM
  3. Stop validation if binding fails.
    By sherihan in forum Web
    Replies: 0
    Last Post: Feb 8th, 2005, 03:18 AM
  4. Replies: 0
    Last Post: Jan 6th, 2005, 08:19 AM
  5. Replies: 2
    Last Post: Aug 17th, 2004, 04:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •