Archive for July, 2007

Good advice for API builders

Friday, July 13th, 2007

Writing an api is hard there’s no doubt, ACM have a good article with some best practice rules to follow.

  • focus on the caller.
  • Why throwing exceptions is a good thing
  • Document before you implement
  • It’s always hard building one and deciding who your target audience is. Obviously once you’ve built in the problem is deciding when to stop refactoring and polishing it ;-)

    Building APIs

    Using the Swing Application Framework

    Tuesday, July 10th, 2007

    I wrote a while ago about JSR-296. Well, John O’Connor has put up a new article on using it Using the Swing App Framework and provides a real example showing the lifecycle, session management, resource bundles and how a project gets organised. There’s even a demo app to keep you going…