Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Auszug
hiddentrue

Nuclos server client data: NuclosRemoteInvocationResult, userObject, NuclosHttpInvokerServiceExporter, executeRequest, statistics.

globe with meridians Language: Deutsch · English

light bulb Transferring data from the server to the client

Transport additional data from server to client – NuclosRemoteInvocationResult and userObject.

Status
colourGreen
titleKonzept
Status
colourBlue
titleDeveloper
Status
colourGreen
titleUpdated: Jul 2026
Status
colourGrey
titleapplies to Nuclos 4.2026.x

Panel
bgColor#F4F5F7

On this page

Inhalt
maxLevel2
minLevel2

To transport additional data (besides the actual result) from the server to the client, there are NuclosRemoteInvocationResult and NuclosHttpInvokerServiceExporter.

Mechanism

  • NuclosRemoteInvocationResult contains the usual server result plus an optional userObject.
  • The server sets the object in NuclosHttpInvokerServiceExporter.invokeAndCreateResult.
  • The client reads it in NuclosHttpInvokerProxyFactoryBean.executeRequest after the server call and processes it.
Codeblock
languagejava
final RemoteInvocationResult result = super.executeRequest(invocation);
if(result instanceof NuclosRemoteInvocationResult) {
	NuclosRemoteInvocationResult nuclosResult = (NuclosRemoteInvocationResult) result;
    // space for future use of this feature
}        
Info
titleUse cases

Originally intended for statistics (e.g. number of SQL calls or duration of a server call) – better than digging through log files.

Related pages

gear Detailed client information in the server


Client info.

Open →