IP Library Granted Patent US 8,572,554
Granted Patent B2
US 8,572,554 · App. 12/505,406 · Granted Oct 29, 2013

Method and system for integrating Java and JavaScript technologies

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,572,554
App. No.
12/505,406
Granted
Oct 29, 2013
Kind
B2
Abstract

A method and system for integrating Java and JavaScript technologies is provided. An example system includes a JavaScript proxy generator and a runtime module. The JavaScript proxy generator may be configured to automatically generate a JavaScript proxy in a form of a Java application programming interface. The runtime module may be configured to call the JavaScript proxy from the Java module, pass control of execution to the JavaScript module, execute the JavaScript module to generate an output method or object, and pass control of execution to the Java module to continue execution of the Java module.

Claims (38)

1. A computer-implemented system comprising:

a JavaScript proxy generator to automatically generate a JavaScript proxy in a form of a Java application programming interface (API), the JavaScript proxy associated with a JavaScript module, wherein the JavaScript proxy generator comprises a JavaScript annotation module to create a definition for the JavaScript module and a scripting engine to generate the JavaScript proxy using the definition; and

a runtime module to:

call the JavaScript proxy from the Java module;

responsive to the calling, pass control of execution to the JavaScript module;

execute the JavaScript module to generate an output method or object; and

pass control of execution to the Java module to continue execution of the Java module.

2. The system of claim 1 , comprising a wherein the scripting engine is to facilitate authoring of the JavaScript proxy.

3. The system of claim 1 , wherein, the JavaScript proxy is associated with a typed output.

4. The system of claim 1 , wherein the JavaScript proxy is to access an object literal.

5. The system of claim 1 , wherein the JavaScript proxy is to access a JavaScript native array.

6. The system of claim 1 , wherein the JavaScript proxy is to access a native JavaScript function.

7. The system of claim 1 , wherein the JavaScript proxy is to access a browser document object model (DOM).

8. The system of claim 1 , comprising a debugger to debug the JavaScript module accessed via the JavaScript proxy.

9. The system of claim 1 , wherein the system is integrated with an Integrated Developer's Environment (IDE).

10. A computer-implemented method comprising:

using one or more processors to perform operations of:

automatically generating a JavaScript proxy associated with a JavaScript module, the JavaScript proxy implemented as a Java API, wherein the generating of the JavaScript proxy comprises:

creating a definition for the JavaScript module, and

using the definition for the generating of the JavaScript proxy; calling the JavaScript proxy from a Java module;

responsive to the calling, passing control of execution to the JavaScript module;

executing the JavaScript module to generate an output method or object; and

passing control of execution to the Java module to continue execution of the Java module.

11. The method of claim 10 , wherein the generating of the JavaScript proxy is associated with authoring of the JavaScript module.

12. The method of claim 10 , wherein the JavaScript proxy is associated with a typed output.

13. The method of claim 10 , wherein the JavaScript proxy is to access an object literal.

14. The method of claim 10 , wherein the JavaScript proxy is to access a JavaScript native array.

15. The method of claim 10 , wherein the JavaScript proxy is to access a native JavaScript function.

16. The method of claim 10 , wherein the JavaScript proxy is to access a browser document object model (DOM).

17. The method of claim 10 , wherein the executing of the JavaScript is performed in a debugging environment.

18. A machine-readable non-transitory storage medium having instruction data to cause a machine to:

automatically generate a JavaScript proxy in a form of a Java application programming interface (API), the JavaScript proxy associated with a JavaScript module, wherein the generating of the JavaScript proxy comprises:

creating a definition for the JavaScript module, and

using the definition for the generating of the JavaScript proxy;

call the JavaScript proxy from the Java module;

responsive to the calling, pass control of execution to the JavaScript module;

execute the JavaScript module to generate an output method or object; and

pass control of execution to the Java module to continue execution of the Java module.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 23, 2015
From: EBAY INC.
To: PAYPAL, INC.
Reel/Frame 036169/0680 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 19, 2009
From: YAO, YITAO; PALAIMA, MARK P.; WANG, PEI; CHOI, GREGORY; EARLY, JUSTIN CHRISTOPHER; POTTAVATHINI, SATHISHWAR
To: EBAY INC.
Reel/Frame 023120/0951 →