Wednesday, December 24, 2003
Here at work I'm starting work on a Swing-based application so I've been looking around for a simple framework that handles binding java bean properties to Swing components and validation of input. So far I've found Joda which offers support for binding bean properties but it doesn't yet support bindings for all Swing components. The other problem is that it forces all your domain models to be separated into interface/implementation pairs which (in my view) is too onerous.Another project I've found is ScopeMVC. It appears to be in transition from v1.x to a completely refactored v2.x which is currently in alpha form. The approach taken here appears to be to provide subclasses of the standard Swing components. I would rather that adapter classes were used instead of subclasses but I can't really articulate exactly why I feel this way. It seems less invasive somehow to use the standard Swing components and adapter classes. Anyhow, ScopeMVC looks fairly comprehensive and appears to be worth a closer look.The other framework I've found is wotonomy. Wotonomy is apparently inspired by Apple's WebObjects product. It's currently in alpha form with the last release in July, 2002 so I'm concerned it has been abandoned. At any rate it looks pretty good from the documentation. Adaptor classes (Associations) are used to bind data models to Swing components. It also has the concept of Editing Contexts and Display Groups. I will have to take a closer look at this.
Another possible option in the future may be Karsten Lentzsch's (JGoodies) binding & validation frameworks which he has said will be open sourced next year...
Is anyone aware of any other open source frameworks that offer binding? If anyone has any comments on the above frameworks I'd like to hear them as well...
This notice is to inform you that Java(TM) 2 SDK, Standard Edition
1.5.0 Alpha has been released at this location:
http://java.sun.com/developer/earlyAccess/j2sdk150_alpha/
We would like you to download and test this early access software with
your Java technology-based applications and send your feedback to
j2se-beta-feedback@sun.com.
Regards,
I downloaded it yesterday but it was corrupted...I don't think I'll get time to try again before I head out on holidays at noon.I've now moved my blog from Radio Weblogs to here as I've let my Radio subscription expire (quite some time ago.) My last post over on Radio was over a year ago anyhow but I'm just now getting the urge to post again... We'll see how long that urge lasts.