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.

KONZEPT DEVELOPER UPDATED: JUL 2026 APPLIES TO NUCLOS 4.2026.X

On this page

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.
final RemoteInvocationResult result = super.executeRequest(invocation);
if(result instanceof NuclosRemoteInvocationResult) {
	NuclosRemoteInvocationResult nuclosResult = (NuclosRemoteInvocationResult) result;
    // space for future use of this feature
}        

Use 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 →

  • Keine Stichwörter