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.

8 comments:

  1. Excellent and easy to understand

    ReplyDelete
  2. The flow between Java applets/servlets and the database through JDBC is explained really clearly here, especially how requests and results move through each layer. It helps to understand how different components work together in a complete system. Even while going through something like lunchtime, this kind of structured overview makes the concept easier to remember.

    ReplyDelete
  3. Clear explanation of JDBC architecture and how data flows between applets, servlets, and databases in Java applications.
    For more updates, check: drivetime results

    ReplyDelete