Client and server roles in Unica

Unica application components can act as either the client or the server in a communication, depending on the situation.

Most Unica applications consist of two parts.

  • The web application. The web application is the component that users access through a browser.

  • The server (for example, the Unica Campaign listener and the Unica Platform API server). This component is accessed programmatically.

The following examples and diagrams illustrate the roles played by HCL components in various communications.

Example 1 - Communication between a browser and an Unica web application

When users communicate with Unica web applications through a browser, the browser is the client and the Unica web application is the server.


Diagram showing a browser as the client and the web application as the server.

Example 2 - Communication between components of one Unica application

The two components of a single Unica application can also communicate with each other programmatically. For example, when the Unica Campaign web application sends a request to the Unica Campaign listener, the Unica Campaign web application is the client and the listener is the server.


Diagram showing the web application as the client and the listener as the server.

Example 3 - Unica components playing both roles

An Unica application component can communicate as a client in some exchanges and as a server in others. An example of these relationships is shown in the following diagram.


Diagram showing the web application as both the server and the client.