Method, apparatus, and program to efficiently serialize objects
Abstract
A mechanism is provided for efficiently serializing complex objects. When a server application returns a complex object, the server application creates a string object. String objects are already defined as serializable. The string object may simply be a hash key in a hash table for the server application, which stores the complex object. Thus, the complex object does not have to be inefficiently serialized, because the string is returned rather than the complex object. The client may then use the complex object to call another server application without knowing the structure of the complex object.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 8.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method in a server, comprising: receiving data from a server application; determining whether the data is serializable; storing the data in a data structure and forwarding, to a client, a reference to the data structure if the data is not serializable; receiving argument data from a client; determining whether the argument data is a reference to a complex object; and retrieving the complex object from the data structure if the argument data is a reference to a complex object.
- Claim 2Depends on #1
The method of claim 1 , wherein the argument data comprises an argument in a server application call.
- Claim 3Depends on #2
The method of claim 2 , further comprising: passing the complex object as the argument in the server application call.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗