Archive

Archive for February 20th, 2006

Handy Aspect Library 0.1 Released!

February 20th, 2006

After some hemming and hawing, I finally decided to release the Handy Aspect Library. This initial release is based on AspectJ 5 (not JBoss AOP) and contains the JavaBean Aspect and the new SyncModel Aspect. The JavaBean aspect is relatively mature, but the SyncModel Aspect could probably use some more testing, which is the reason for the 0.1 release. If you’re interested in how these aspects work, you can see a demo here. This demo presents a side-by-side comparions of both the JavaBean and SyncModel aspects. You’ll also want to have a look at the code as well since the behavior of the JavaBean Aspect is not any different from a standard JavaBean. It the amount of code that is different. The “Test w/ SyncModel” and “Test Long Task” buttons test the same code, but one is using SyncModel and the other just simply executes on the EDT. Again, have a look at the code to see what’s up.

I have a few more aspects planned, but I figured I’d put the initial release out there to gather peoples opinons. Any thoughts? Of course other than the fact that you hate AOP, I know that already :)

Author: Ryan Categories: Java Tags:

Control Blocking Swing Threads with AOP

February 20th, 2006

Can some of Swing threading with rules be managed by an aspect? Maybe, maybe not. I set out a few weeks ago to try and see if I could make long, or GUI freezing, tasks execute off of the Event Dispatch Thread (EDT) and when complete, return the results to the EDT. This page describes the aspect is greater detail.

Author: Ryan Categories: Java Tags:
Buy bed in a bag bedding canopy bedding. Leather furniture furniture furniture sofas. discounted furniture furniture care discount furniture stores furniture showrooms kids furniture buy furniture online buy furniture kitchen furniture furniture shops