Skip to main content

Evan Summers

Evan Summers lives in Cape Town and plays Java, PostgreSQL and Linux. Most interested in crypto, systems monitoring and BI right now. Past interests include Swing, and future interests include mobi web.

 

evanx's blog

Gooey Bean Aspect

Posted by evanx on January 15, 2007 at 6:36 AM PST

We use CGLIB to enhance a half-baked Java Bean with no firePropertyChange() invocations in its setters, into a bean that does fire PropertyChangeEvent's from its setters.

Jelly Beans 1: Mock Persistence

Posted by evanx on January 12, 2007 at 4:02 AM PST

This "Jelly Beans" series deals with data entities, as required for the "Gooey Beans" series' demos. Together with "Hyper Beans", i'm calling them the "Foundation Trilogy" :)

And yes, it's a scifi/fantasy trilogy in 42 parts, essentially about writing database applications using Swing.

Property Problems, Solutions and Wishes

Posted by evanx on January 11, 2007 at 1:50 AM PST

Here are some problems and possible solutions (today) relating to bean properties.

Getters and Setters

Problem. We don't wanna write lots of getters and setters, or see them.

Solution. We use our IDE to generate them.

Wishlist. Maybe we wanna fold basic getters and setters right out of view en masse.

Gotcha Property Descriptor

Posted by evanx on January 9, 2007 at 2:54 AM PST

As Richard Bair points out we really need a way to get a PropertyDescriptor easily, i.e. meta data and support for bean properties.

Five Things

Posted by evanx on January 6, 2007 at 4:44 AM PST

Before someone tags me (and then i have to find five others who haven't been tagged yet, which will require some effort on my part), and in case someone doesn't ;) Here goes me taking the fifth...

It's on CVS here cos i like to use an editor to edit stuff eg. Netbeans, and right-click to commit, images and all.

Gooey Beans Form

Posted by evanx on December 29, 2006 at 7:03 AM PST

Gooey Beans Form