Recording medium and programming support apparatus
US-2024329615-A1 · Oct 3, 2024 · US
US9632772B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9632772-B2 |
| Application number | US-201514712264-A |
| Country | US |
| Kind code | B2 |
| Filing date | May 14, 2015 |
| Priority date | Feb 11, 2008 |
| Publication date | Apr 25, 2017 |
| Grant date | Apr 25, 2017 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
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.
Opening claim text (preview).
What is claimed is: 1. A computer program product for reconstructing a collection, the computer program product comprising: a non-transitory computer readable storage medium having stored thereon: program instructions 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 that are placed in the collection, wherein the decomposing comprises: parsing code for one or more objects; determining that the parsed one or more objects is not a primitive, and performing the following: determining whether the one or more objects is annotated, wherein when the one or more objects is annotated and the annotations are Java annotations, the Java annotations: 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 program instructions to automatically reconstruct the definitions of the complex objects within the collection using a wizard when the one or more objects is annotated, wherein the program instructions are stored on the non-transitory computer readable storage medium. 2. The computer program product of claim 1 , wherein the wizard uses an XML plug-in to determine how to handle the collection, and 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. 3. The computer program product of claim 2 , wherein the template is retrieved for a hash, map or library, which documents the one or more base object. 4. The computer program product of claim 2 , wherein the computer infrastructure is operable to reconstruct the collection by writing the collection in XML using the template. 5. The computer program product of claim 2 , wherein the wizard uses the template comprising a hash, map, or list to convert a complex object into a simpler object. 6. The computer program product of claim 1 , wherein when the one or more objects is the primitive, reconstructing an XML using the primitive. 7. The computer program product of claim 1 , 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. 8. The computer program product of claim 1 , wherein Web Services Description Language (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. 9. The computer program product of claim 1 , wherein the collection is a collection of classes which include a name, a complex context, a restriction base, and an attribute reference. 10. The computer program product of claim 1 , further comprising determining that the primitive objects is the primitive, and performing writing of a Web Services Description Language (WSDL) file using the primitive. 11. A method implemented in a computer infrastructure having computer executable code tangibly embodied on a non-transitory computer readable storage medium having programming instructions configured 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: determine 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 generate an exception that does not reconstruct the collection; and when the one or more objects is annotated, automatically reconstruct the definitions of the complex objects within the collection using a wizard. 12. The method of claim 11 , wherein the wizard uses an XML plug-in to determine how to handle the collection, and 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.
Physics · mapped topic
Adapting program code to run in a different environment; Porting · CPC title
Program documentation · CPC title
Code refactoring · CPC title
Object persistence · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.