loading table of contents...

5.1.1. Commerce-led Integration Overview

Commerce-led integration scenario

Figure 5.2. Commerce-led integration scenario


Figure 5.2, “Commerce-led integration scenario” shows the commerce-led integration scenario where the CoreMedia CAE operates behind the commerce server. Moreover, you can see two kinds of requests. While the green arrows represent HTTP page requests to the commerce server, that include fragments delivered by the CAE, the blue arrows are resource or Ajax requests directly redirected by the one virtual host in front of both servers to the CAE.

A typical flow of requests through a commerce-led system is as follows:

  1. A user requests a product detail page that is received by the virtual host.

  2. The virtual host identifies the request as a commerce request and forwards it to the commerce server.

  3. Part of the requested Product Detail Page (PDP) is a CAE fragment as described in the corresponding Commerce Composer page layout. Hence, the WCS requests the fragment from the CAE.

  4. The resulting HTML page flows back to the user's browsers. Because the page contains dynamic CAE fragments which have to be fetched via Ajax, the browser triggers the corresponding request, against the virtual host.

  5. As this is a CAE request, the virtual host forwards it directly to the CAE.

From the point of view of the user all requests are sent to exactly one system, represented by the one virtual host that forwards the requests accordingly.