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.