APPLET ARCHITECTURE

When you write a Java application for time series data, you use the JDBC Driver to connect to the database, as shown in the following figure.

Figure 1. Runtime architecture for Java programs that connect to a database
The figure is described in the surrounding text.

The Java application makes calls to the JDBC driver, which sends queries and other SQL statements to the database. The database sends query results to the JDBC driver, which sends them on to the Java application.
You can also use the time series Java classes in Java applets and servlets, as shown in the following figures.

Figure 2. Runtime architecture for a Java applet
The figure is described in the surrounding text.

The database server is connected to the JDBC driver, which is connected to the applet. The applet is also connected to a browser, which is connected to a web server that communicates with the database.

Figure 3. Runtime architecture for a Java servlet
The figure is described in the surrounding text.
A request from an application goes through a web server, an HTTP servlet subclass, and the JDBC driver to the database. The database sends responses back along the same path.

6 comments: