Patent classifications
G06F9/4493
System for optimizing serialization of values
A first value of a first data type is obtained as input. A second value of a second data type is obtained based at least in part on the first value. The second value is determined to match the first value without losing precision. The second value is determined to be greater than a maximum value for a third data type, and less than or equal to a maximum value for a fourth data type. A marker value is stored in a first storage location, the marker value indicating that a second storage location holds a value of the fourth data type. The second value is stored in the second storage location as the fourth data type.
Object deserializer using object-relational mapping file
A method and system for performing a unit test in a self-contained environment. The system may include using an object relationship mapping file to generate data objects that can be used for code for a unit test without having to refer to a database to perform a unit test. The data objects may further provide for simultaneous unit tests and a self-contained environment to perform the unit tests to improve the quality and resources required to perform such unit tests. The system may perform the unit tests independent of access to a database.
REUSABLE DYNAMIC OBJECT IN RUNTIME ENVIRONMENT
An embodiment, of the disclosure provides a method for using a reusable dynamic object in a runtime environment. The method includes: (a) configuring, using an object dictionary, properties of the dynamic object; (b) setting a persistence state for the dynamic object; (c) setting a hierarchy state for the dynamic object; (d) establishing a create data buffer, a read data buffer, an update data buffer, and a delete data buffer; and (e) instantiating the dynamic object at runtime, wherein the object dictionary includes an object structure, a logical to physical mapping, a persistence configuration, and object relationships for a plurality of dynamic objects, and the create data buffer, the read data buffer, the update data buffer, and the delete data buffer execute data persistence mechanisms based on the persistence configuration of the dynamic object.
Method, system and computer program product for object serialization and de-serialization
A method, apparatus and computer program product are provided for serializing and de-serializing objects such that data may be transmitted between disparate systems otherwise having incompatible object definitions. The disparate systems may include different versions of the same system or completely different systems. Object graphs may be recursively broken down into primitive components, and the data may be reformatted as maps of primitive data chained together. The data may be transmitted to a disparate recipient system and reassembled into objects recognizable by the disparate recipient system. Various systems can then communicate with each other regardless of underlying data formats.
BUILDING FLEXIBLE RELATIONSHIPS BETWEEN REUSABLE SOFTWARE COMPONENTS AND DATA OBJECTS
At design-time, an owner data object and a container reference object are defined. At runtime, an instance of the defined owner data object an instance of defined relationship construction parameters are instantiated. At runtime, an instance of the defined container reference object and an instance of a defined data source object are instantiated using the instantiated relationship construction parameters. At runtime, an instance of a defined target data object is instantiated by calling an interface of the instantiated data source object. At runtime, the instance of the target data object is cached in the instance of the container reference object.
Shadow Java classes provide private metadata
A method for using shadow Java classes to provide private metadata in an application. An XML schema defining a public API is used by a generator to create the public API data classes and a corresponding set of shadow classes. The shadow classes contain metadata describing each corresponding API class, including overall class metadata, and metadata pertaining to each field in the class. When a public class is to be encoded and sent out over the wire, the encoder looks up the shadow metadatawhich includes the class structure and eliminates the need to use Java reflection to expand the class. The encoder then walks through the fields of the class and encodes the objectusing shorthand simplifications enabled by the metadata. The encoding process is fast because of the avoidance of reflection, and the encoded data is compact due to the simplifications. A similar process is used for de-serializing.
STATE MANAGEMENT PERSISTENCE
A hierarchy of containers is received at a user interface of a design time tool. The hierarchy of containers includes a container nested inside of one or more other containers. Each of the containers includes a different part of a web client application. The design time tool associates state with each of the containers in the hierarchy of containers. Lifecycles for each of the containers are received at the user interface. The design time tool creates computer executable instructions in the web client application that enable state for each of the containers to be created and destroyed according to the hierarchy based on the respective lifecycles of each of the containers. The design time tool provides each of the containers access to its own state and state of containers that include it based on respective lifecycle events associated with each of the containers.
SYSTEMS AND METHODS FOR DYNAMIC C# SERIALIZATION
C Sharp (C#) system including one or more C Sharp (C#) computing devices for dynamically serializing C Sharp (C#) during runtime is provided. The C# system is configured to receive a serialized JSON class including at least one data object associated with at least one attribute name and deserialize the serialized JSON class. The C# system is also configured to serialize a C# class using the deserialized JSON class, and dynamically identify, from the C# class, the at least one data object during the runtime of the data objects. The C# system is further configured to generate a dynamic C# class, wherein the dynamic C# class includes a target class and a method for returning the at least one data object, and return the at least one data object.
System and method of reconstructing complex custom objects
A system and method is provided for reconstructing one or more collections of objects across platforms. More particularly, Java Annotations are used to assist a Web Services Description Language (WSDL) wizard in reconstructing a collection of objects. In implementation, the system and method parses the object types such that a wizard can recreate or reconstruct the collection of objects for use by a receiving service. The method includes reconstructing a collection using one or more annotations that document a base object of the collection.
APPARATUSES, METHODS AND SYSTEMS FOR PERSISTING VALUES IN A COMPUTING ENVIRONMENT
The present disclosure is directed to persisting values in a computing environment, particularly using computer programs that are configured to run on a virtual machine. An illustrative method includes first launching a computer program, preferably within the environment of a virtual machine. The method further includes loading a plurality of classes associated with the computer program into memory by way of a specially configured class loader. This class loader is configured to scan at least one class of classes loaded into memory for at least one persistence-annotated field within that class. The specially configured class loader is further configured to write byte code into a class that contains the at least one persistence-annotated field. The byte code that is added to the class is configured to cause a first object that is later instantiated from the at least one class to have the persistence-annotated field.