Embedding Servers
Page 3 of 4

Embedded Server Topology

Figure 10-1, Figure 10-2, and Figure 10-3 show some typical Cloudscape topologies.

Figure 10-1 The typical Cloudscape deployment. Cloudscape is embedded in a Java application; they both run in the same JVM. The embedding application uses the local JDBC driver to connect to Cloudscape. Other applications are not allowed to connect to Cloudscape.

Figure 10-2\t A client/server Cloudscape deployment. Cloudscape is embedded in a server framework. End-user applications connect Cloudscape via the server frameworks. No application other than the server framework runs in the same JVM as Cloudscape or uses the local JDBC driver.

Figure 10-3\t An "embedded server." The server framework is started up by the embedding application, and so the server framework is embedded in the application. The embedding application, the server framework, and Cloudscape all run in the same JVM. The server framework allows external JDBC applications to connect to Cloudscape. The embedding application and the server framework use the local JDBC driver to connect to Cloudscape; external JDBC applications use a client JDBC driver to connect.