I came across a similar problem that this fellow encountered when attempting to find a way bind POJOs in Hibernate to a Swing UI. I had developed several web apps using Hibernate with much success and recently, I have been exploring using Swing and Hibernate by extending one of my prior projects. In general, the domain models consist of dumb data objects with just setter and getter method and nothing more. I started looking into the JGoodies data biding framework as many have been raving about it.
The problem with this API is that your domain objects now have to extend Model. This is a pain in the ass task plus, I’m lazy
. You see, I have 29 objects that I would have to change and add property change events for each setter in each class. Sure not a hard thing to do, but tedious and BORING, and probably error prone. So, I am now experimenting by “Introducing” the Model behavior to my domain model using JBoss AOP. We’ll see how it goes.
So yesterday I had a spook which landed me in the ER. Unfortunately, the ER does not operate as efficiently as it could have. See had I actually been dying, I would have missed JoLo cooking Ropa Vieja on Ellen. Of course this was a re-run according to the Mrs.
The highlight my stay had to be listening to the two biddies behind us who were marveling at the presence of American Idol looser, Anthony Fedorov:
Biddy 1:Is that your Idol?
Biddy 2: No, that’s not Clay Aiken.
It went on like this for what felt like hours:
Biddy 1:Yull nevah believe what Gina named ha dawhtah, not in a million yeeahs. Go on try, you won’t guess. She named hah “Felicity”. Wheah do you come up with sumptin’ like that?
Biddy 2: Oh that’s terrible. That’s awful!
Biddy 1:And I says “Who comes up with sumptin’ like that?” and one of the ladies said theais a lady on tha TV called Felicity. What a tonguetwistah! It’s so awful.
Aparently, not much was wrong and Dr. Ziodberg gave me a clean bill of health and sent me on my way.
Recent Comments