Use the Percollator applet to monitor a JavaWorld server. (Here is a snapshot.) The development kit for Percollator provides the main classes that can be interfaced to many component libraries.
The SE perforamnce Toolkit provides the ability to set rules that can be used to classify the behavior of a system into zones, Red -- busy, Green OK. For more information on how to setup and use rules look at the following two articles:
The RuleStates applet produces a chart that allows a systems administrator to quickly see the status of all the rules specified in relation to one another. The horizontal axis represents increasing values of time, and the vertical axis shows rule and its respective status.
| JDK 1.0.2 | 95 seconds |
| JDK 1.0.2 with Guava JIT | 40 seconds |
The Guava compiler provides a dramatic increase in performance and there are many applets that will benefit from this technology. Guava has implemented an efficient threading model with the its Java VM, but Guava currently does not support native methods. To improve the performance of your Java programs/applets, first calibrate your client or server by running something like CaffeineMark. Then try to understand where the time is being spent in your applet/application by using tools like ProfileViewer. Then try the various JITs on the market. Using the Guava JIT also improves your compilation speed. I am not endorsing any of the above tools. I have been able to use JITs to improve performance often.
The following discussion expands on my recent JavaWorld article, "RMI and object serialization," which discussed persistence and introduced a simple object database. The serialization examples discussed there provided directions for installing the RMI libraries. These directions need to be followed again. Don't despair: RMI will be included with JDK 1.1.