Applet or Servlet
There are several factors to consider when choosing whether to implement either the applet or servlet version of the Line Graph. The table below highlights some of the most important points to be taken into account.
Implementation Type | Advantages | Disadvantages |
Servlet |
|
|
Applet |
|
|
As you can see from the table above the big advantage of the Applet is the interactive features it offers and the big advantage of the Servlet is the ability to print the graph image consistently across all browser versions. If both these factors are important to your implementation then a combination of the two may be the answer. For an outline of this solution please see the section "Graph Printing" or click here.