Patent ID: 7480894

Claim:
A server method for converting Java-based objects into JavaScript-based objects, the method comprising: a) identifying one or more Java-based object classes; b) determining instance data based on the Java-based object classes; c) introspecting each Java-based object class; d) automatically creating an artifact representing a software model describing the instance data; e) generating at least one converter for each Java-based object, the at least one converter being based on the artifact and configured for receiving the instance data and generating JavaScript code for converting each Java-based object to a JavaScript object and for projecting the JavaScript objects on a browser web page; wherein the generating step comprises: maintaining rules that enforce typing and other modeling constraints not found in JavaScript; and defining a smallest number of properties of each of the JavaScript objects that together represent its uniqueness to produce a string that is portable across any environment and represents each JavaScript object's uniqueness, such that if there are two physical copies of what is logically the same JavaScript object, the method automatically aliases them out such that in the browser, there is only one copy of each duplicated JavaScript object; f) generating a simple wrapper for invoking the at least one converter.