Bambookit Home    Bambookit GUI Tutorial

Back    Next   

Chapter 4. Jar file

Bambookit jar file is an ultra lightweight package of 100Kb library that contains lightweight controls (widgets), an XML parser and an object enabler framework for building real-time, interactive Internet applications that brings desktop functionality into browser windows.

All of the Bambookit library resides in a single jar file called bamboo_2_0.jar (the version numbers will change over time). The bamboo binary is only 100Kb (jar file), resulting in a lower memory footprint and a faster one-time download time. All other applications dependant on the Bambookit API will function instantly (only the initial cost of the download is absorbed)

You may add these components to your web site using the applet tag. In this tag you would set the archive attribute (i.e. archive="bamboo_b388.jar" ) as well as setting the code attribute to Loader.class. The Loader.class is the main interface between the Bambookit API and the application interface.

Follow this instructions to create Bambookit applets:

  • Create a 'test' folder anywhere on your hard drive.
  • Copy bambookit_2_0.jar file there.
  • Create a 'testing.html' file (to create an html document you may use DreamWeaver, Frontpage or a plain text editor).
  • Save this file into your 'test' folder.
  • In 'testing.html' cut and paste the applet code onto your file (Use the HTML Source as template).
  • Modify the properties of your GUI elements through the use of a XML file, or even add to them by using the tutorials pages.
  • As long as the web page is hosted locally and ran locally everyhting would work fine.
  • To be able to run the HTML file with Bambookit applets from your Web server, you would need to purchase a package, which includes the text file containing the serial number.
  • Once the package is purchased, you would need to place the license file next to the bamboo jar file.

    Back    Next