
In the J2EE Engine, statistics records are written for each action. An action is started when a request, such as an HTTP request, is sent to the component. This action has a certain duration and is divided into different time types, as shown in the diagram below:
From the point of view of the calling client, which can write statistics, this action lasts the length of time indicated by the response time arrow. The J2EE Engine, which writes statistics, creates a main record at this point that shows a response time as the total of all of these times. As soon as it calls other components, such as the database, it writes a subrecord for this call (Call1 subrecord). If it calls the same component more than once within an action/a request, because it must read different configurations from the database simultaneously, it can combine these subcalls.
The database itself could also write statistics. It would start a main record at database time. However, as it is performing dependent processing, the calling J2EE Engine component transfers a small file with the name passport together with its communication, which contains details about the context or action in which it is called, and the database continues to write in this context. In this way, you can connect the data records that are distributed on different hosts.
For an exact process description from the creation of the DSR in the J2EE Engine to its display in the CCMS, see Displaying DSRs/Performance Traces of the J2EE Engine in CCMS .
The J2EE Engine is a non-transparent entity for the distributed statistics records. They do not contain any information about processes within the engine. Only the Performance Trace provides duration information for the individual modules of the engine (HTTP, service, JMS, and so on).