Method, apparatus, and program for code reusability and maintainability in XML-driven projects
First Claim
1. A method, in a data processing system, for code reusability and maintainability, the method comprising:
- providing a utility class in a server that defines a utility method;
responsive to receiving a request at the server for attributes for an entity from a client, generating a method call for the utility method, wherein the method call identifies the entity and a response object name;
generating a response object and assigning the response object name to the response object; and
returning the response object to the client.
1 Assignment
0 Petitions
Accused Products
Abstract
A data dictionary is provided that specifies the entities and corresponding attributes for the application program interface developers to use. An extensible markup language interface is provided for customers to perform operations on the data. Application program interfaces receive extensible markup language requests and generate extensible markup language response documents that may return data from the database. A set of classes is also provided that correspond to the entities that are defined in the data dictionary. These classes define utility methods for use in retrieving data. The application program interface then appends the returned response object at the depth necessary in order to generate an extensible markup language document.
-
Citations
22 Claims
-
1. A method, in a data processing system, for code reusability and maintainability, the method comprising:
-
providing a utility class in a server that defines a utility method;
responsive to receiving a request at the server for attributes for an entity from a client, generating a method call for the utility method, wherein the method call identifies the entity and a response object name;
generating a response object and assigning the response object name to the response object; and
returning the response object to the client. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. An apparatus, in a data processing system, for code reusability and maintainability, the apparatus comprising:
-
a utility class that defines a utility method;
a program interface, wherein the program interface, responsive to receiving a request for attributes for an entity from a client, generates a method call for the utility method, wherein the method call identifies the entity and a response object name;
wherein the program interface generates a response object and assigns the response object name to the response object; and
wherein the program interface returns the response object to the client. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A computer program product, in a computer readable medium, for code reusability and maintainability, the computer program product comprising:
-
instructions, in a utility class, for defining a utility method;
instructions, responsive to receiving a request at the server for attributes for an entity from a client, for generating a method call for the utility method, wherein the method call identifies the entity and a response object name;
instructions for generating a response object and assigning the response object name to the response object, and instructions for returning the response object to the client.
-
Specification