Skip to main content

Developing with XCC

XCC Communicates with a Client-Server Architecture

XCC communicates with MarkLogic Server with a client-server architecture, where the XCC application is the client and MarkLogic Server is the server. The following figure illustrates the high-level architecture:

Diagram of High-Level Client-Server Architecture

As shown in the diagram above, the XCC-enabled application can run on the same system as an instance of MarkLogic Server (a host), or it can run on a completely different system, as long as the two systems are networked together.

In the diagram, the XCC application running on System A has opened an XDBC connection to port x1 on System B. On System B, MarkLogic Server is configured with an XDBC Server listening to port x1, and that XDBC Server connects to databased1. Consequently, the configuration shown in the diagram above allows the XCC application on System A to submit XQuery requests (including query, load, update, and delete) for evaluation against databased1.