IP Library Granted Patent US 8,626,720
Granted Patent B2
US 8,626,720 · App. 12/029,048 · Granted Jan 7, 2014

System and method of reconstructing complex custom objects

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,626,720
App. No.
12/029,048
Granted
Jan 7, 2014
Kind
B2
Abstract

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 comprises reconstructing a collection using one or more annotations that document a base object of the collection.

Claims (88)

1. A method comprising:

decomposing a collection of complex objects into one or more base objects using one or more annotations that document the one or more base objects that are placed in the collection, wherein the decomposing comprises:

parsing code for one or more objects;

determining whether the parsed one or more objects is a primitive;

when the one or more objects is the primitive, writing a Web Services Description Language (WSDL) file using the primitive; and

when the one or more objects is not the primitive, performing the following:

determining whether the one or more objects is annotated,

wherein the annotations are Java annotations, which:

define the one or more base objects used by the collection;

generate a javaDoc reference that shows the one or more base objects being added to the collection; and

break the collection into a group of complex object types and

decompose the collection to the one or more base objects that are placed in the collection;

when the one or more objects is not annotated, generating an exception that does not reconstruct the collection; and

when the one or more objects is annotated, automatically reconstructing the definitions of the complex objects within the collection using a wizard,

wherein:

the wizard uses an XML plug-in to determine how to handle the collection;

the reconstructing using the wizard comprises:

retrieving the one or more base objects for the collection using the one or more annotations determined from the one or more objects of the collection;

retrieving a template for reconstructing the collection as an XML using the retrieved one or more base objects for the collection; and

reconstructing the collection by wrapping the retrieved one or more base objects as elements in the retrieved template; and

the method is implemented in a computing infrastructure.

2. The method of claim 1 , wherein the collection is the WSDL file.

3. The method of claim 1 , wherein the reconstructing includes writing the collection in XML.

4. The method of claim 1 , wherein when the one or more objects is the primitive, reconstructing an XML using the primitive.

5. The method of claim 1 , wherein the computing infrastructure is at least one of maintained, deployed, serviced and configured by a service provider.

6. The method of claim 1 , wherein the template for a hash, map or library, which documents the one or more base object.

7. The method of claim 1 , wherein the collection is a complex object that groups multiple elements into a single unit and stores, retrieves, manipulates data, and transmits data from one method to another.

8. The method of claim 7 , wherein the collection is annotated to define the one or more base objects, wherein:

the collection is compatible with non-Java based web service consumers and web service implementations; and

definitions of complex, custom objects are transferable across multiple platforms and automatically reconstructed by a wizard.

9. The method of claim 8 , wherein the one or more annotations are Java annotations, which:

define the one or more base objects used by the collection;

generate a javaDoc reference that shows the one or more base objects being added to the collection; and

break the collection into a group of complex object types and decompose the collection to the one or more base objects that are placed in the collection.

10. The method of claim 9 , wherein the wizard uses the template comprising a hash, map, or list to convert a complex object into a simpler object.

11. The method of claim 10 , further comprising transcoding the collection back into one or more base objects.

12. The method of claim 1 , further comprising:

transferring definitions of complex, custom objects across multiple platforms; and

automatically reconstructing the definitions with a wizard.

13. The method of claim 1 , wherein WSDL element names are a name of an attribute in the one or more base objects and define a relationship between the collection of the complex objects and the one or more base objects.

14. The method of claim 1 , wherein Java annotations generate a Java document reference which shows the one or more base objects being added to the collection.

15. The method of claim 1 , wherein the one or more annotations are the Java annotations which define the one or more base objects used by the collection.

16. The method of claim 15 , wherein the collection is a collection of classes which include a name, a complex context, a restriction base, and an attribute reference.

17. The method of claim 16 , wherein the one or more base objects are shown in the WSDL file.

18. A method for reconstructing a collection comprising:

providing a computer infrastructure being operable to:

decompose a collection of complex objects into one or more base objects using one or more annotations that document the one or more base objects, wherein the decomposing comprises:

parsing code for one or more objects;

when the one or more objects is the primitive, writing the collection using the primitive; and

when the one or more objects is not the primitive, performing the following:

determining whether the one or more objects is annotated,

wherein the annotations are Java annotations, which:

 define the one or more base objects used by the collection;

 generates a javaDoc reference that shows the one or more base objects being added to the collection; and

 break the collection into a group of complex object types and decompose the collection to the one or more base objects that are placed in the collection;

when the one or more objects is not annotated generating an exception that does not reconstruct the collection; and

when the one or more objects is annotated, automatically reconstructing the definitions of the complex objects within the collection using a wizard,

wherein:

the wizard uses an XML plug-in to determine how to handle the collection;

reconstructing the collection using the wizard comprises:

retrieving the one or more base classes documented by the one or more annotations;

retrieving a template for reconstructing the collection as an XML using the retrieved one or more base objects for the collection; and

reconstructing the collection into a Web Services Description Language (WSDL) file by wrapping the retrieved one or more base objects as elements in the retrieved template.

19. The method of claim 18 , wherein the computing infrastructure is at least one of maintained, deployed, serviced and configured by a service provider.

20. The method of claim 18 , wherein the service provider charges a fee for maintaining, deploying, servicing and configuring the computer infrastructure.

21. The method of claim 18 , wherein the computer infrastructure is operable to reconstruct the collection by writing the collection in XML using the template.

22. A computer program product for reconstructing a collection, the computer program product comprising:

a tangible computer-readable storage memory;

first program instructions to decompose the collection into one or more base objects using the one or more annotations that document the one or more base objects, wherein the decomposing comprises:

parsing code for one or more objects;

determining whether the parsed one or more objects is a primitive;

when the one or more objects is the primitive, writing a Web Services Description Language (WSDL) file using the primitive; and

when the one or more objects is not the primitive, performing the following:

determining whether the one or more objects is annotated,

wherein the annotations are Java annotations, which:

define the one or more base objects used by the collection;

generate a javaDoc reference that shows the one or more base objects being added to the collection; and

break the collection into a group of complex object types and decompose the collection to the one or more base objects that are placed in the collection;

when the one or more objects is not annotated, generating an exception that does not reconstruct the collection; and

second program instructions to reconstruct the collection using the one or more annotations that documented the one or more base objects of the collection when the one or more objects is annotated, automatically reconstructing the definitions of the complex objects within the collection using a wizard,

wherein:

the wizard uses an XML plug-in to determine how to handle the collection,

the reconstructing using the wizard comprises:

retrieving the one or more base objects for the collection using the one or more annotations determined from the one or more objects of the collection;

retrieving a template for reconstructing the collection as an XML using the retrieved one or more base objects for the collection;

reconstructing the collection by wrapping the retrieved one or more base objects as elements in the retrieved template; and

the first and second program instructions are stored on the tangible computer storage medium.

23. The computer program product of claim 22 , wherein the collection is the WSDL file.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 13, 2021
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: KYNDRYL, INC.
Reel/Frame 057885/0644 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 13, 2008
From: HUREK, THOMAS; REICHERT, WILLIAM A., III; THAKKAR, NISHANT; TREVATHAN, MATTHEW B.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 020502/0149 →