- Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Sponsored Links

Latest News
  General News
  Press Releases
  Off Topic

Back to files

version 1.0
released 12.29.2001
Prabhakar V. Chaganti<>

Banjo is a non-gui bean that provides the consumer application with a list of the ten latest applications posted on

You can use Banjo in two different ways:

  1. Push method: Create a Banjo object and call its getApps() method whenever you need the new list.
  2. Pull method: Implement the FmNewAppsListener interface , create Banjo and add yourself as a listener. In this case, you will get callbacks with the new apps list at the time interval(in millisecs) determined by you.

The tarball includes two sample classes in the /samples dir: BanjoDriver1 and BanjoDriver2 that demonstrate the two ways that you can incorporate Banjo into your application.

Banjo also checks the last modified attribute for the backend file, so it will not needlessly parse the xml if nothing has been modified. Therefore you will NOT get any callbacks if nothing has changed on the freshmeat backend !!!


You will need a reasonably recent version of an JAXP XML parser. I use Xerces from the Apache project.


Ensure that Banjo-1.0.jar is on your application classpath.

Enjoy :--)

Sponsored Links

Discussion Groups
  Networking / Security

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 All rights reserved.