IP Library Granted Patent US 7,500,223
Granted Patent B2
US 7,500,223 · App. 10/750,694 · Granted Mar 3, 2009

Automatically creating JavaScript objects to invoke methods on server-side Java beans

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 7,500,223
App. No.
10/750,694
Granted
Mar 3, 2009
Kind
B2
Abstract

Examination of a server-side Java bean to automatically generates a JavaScript representation of the methods in the bean. The JavaScript representations of the methods are sent to the Web browser. The browser then creates JavaScript objects that can be called directly from other JavaScript code on the client side, and which communicate with the server-side method.

Claims (24)

1. A process for setting up the execution of a set of specific server-side bean methods to be called by a client-side data processing system for during a specific session, comprising:

receiving a user-definition of a Java Server Page identifying a set of specific server-side bean methods that can be called by a client-side data processing system during a specific session;

creating a session-specific Application Program Interface on the server side for a the set of specific server-side bean methods;

automatically creating an JavaScript program that is unique to the client-side data processing system and the specific session, the JavaScript program containing calls to the set of specific server-side bean methods in accordance with the session-specific Application Program Interface, JavaScript program restricting the client-side data processing system to call only methods in the set of specific server-side bean methods during the specific session; and

sending the created JavaScript program to the client-side data processing system; and

executing the JavaScript program on the client side to call the methods in the set of specific server-side bean methods, including creating a Java object having the same name as a server-side bean.

2. The process of claim 1 , wherein the interpreted script language program is executed by a non-modified standard browser program.

3. The process of claim 1 , further including initially registering the set of specific server-side methods on the server side, wherein the registering includes identifying the set of specific registered server-side methods.

4. The process of claim 1 , wherein the set of specific server-side methods includes all methods of a bean.

5. The process of claim 3 , wherein registration is performed using Server Page tags.

6. The process of claim 1 , wherein the session-specific Application Program Interface identifies parameters of the methods in the set of specific server-side methods.

7. The process of claim 1 , wherein executing the interpreted script language program includes converting the parameters sent to the server side.

8. The process of claim 1 , wherein executing the interpreted script language program includes converting results sent from the server side.

9. The process of claim 1 , where executing the interpreted script language program further includes using Simple Object Access Protocol calls to invoke the methods in the set of specific server-side methods.

10. The process of claim 1 , where executing the interpreted script language program further includes using Simple Object Access Protocol to return results from the methods in the set of specific server-side methods.

11. The process of claim 1 , wherein the interpreted script language program includes instructions for:

declaring public methods for a current session;

setting up Simple Object Access Protocol requests for each server-side method in the set of specific server-side methods; and

instantiating program objects on the client-side that correspond to server-side objects.

12. A process for executing a set of specific server-side methods by a client-side data processing system, performed by the client-side data processing system in a specific session and-comprising:

receiving a JavaScript program, the JavaScript program being automatically created by the server-side, the JavaScript program being unique to the client-side data processing system and the specific session, the JavaScript program containing calls to the methods in the set of specific server-side bean methods in accordance with a session-specific Application Program Interface, the session-specific Application Program Interface being automatically created on the server-side for the set of the specific server side bean methods, the JavaScript program restricting the client-side data processing system to call only methods in the set of specific server-side bean methods during the specific session, the methods in the set of specific server-side bean methods being identified by a user-definition of a Java Server Page received by the server-side; and

executing the JavaScript program on the client side to call only the methods in the set of specific server-side bean methods, including creating a Java object having the same name as a server-side bean.

13. The process of claim 12 , further including passing parameters to the methods in the set of specific server-side methods when the interpreted script language program is executed on the client side.

14. The process of claim 12 , further including receiving results from the methods in the set of specific server-side methods when the interpreted script language program is executed on the client-side.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 15, 2021
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: AIRBNB, INC.
Reel/Frame 056427/0193 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 26, 2004
From: ALPHABLOX CORPORATION
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 015292/0172 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 30, 2004
From: DESANTIS, ROBERT
To: ALPHABLOX CORPORATION
Reel/Frame 014587/0166 →