9. A system for generating dynamic queries, comprising: a client computer that provides a properties object which contains settings for a query specified by a user, wherein the properties object is generated at runtime and receives the settings from dynamic user input at runtime; a server computer that communicates with the client computer and a database, the server computer providing a bean associated with the database; and a finder method that specifies the query to be executed against the database, the finder method invoked on the bean provided by the server computer; a descriptor that contains an enable dynamic queries element, wherein the enable dynamic queries element has a value of either true or false for enabling the query, such that invoking queries when the enable dynamic queries element has a value of false results in a remote or local exception being thrown depending on whether the queries submitted after setting the enable dynamic queries element were invoked from a local interface or a remote interface, wherein the dynamic queries element is specifiable by an enable-dynamic-queries parsed character data (PCDATA) tag, wherein said tag signifies that the dynamic queries element contains character data parsed by an extensible markup language (XML) parser; wherein upon invocation of the finder method, the server computer extracts the settings contained in the properties object and parses the finder method in order to dynamically generate the query to be sent to the database; and a collection of results that is returned from the database in response to the finder method, said finder method being invoked on a query home interface used to execute dynamic queries.
9. A system for generating dynamic queries, comprising: a client computer that provides a properties object which contains settings for a query specified by a user, wherein the properties object is generated at runtime and receives the settings from dynamic user input at runtime; a server computer that communicates with the client computer and a database, the server computer providing a bean associated with the database; and a finder method that specifies the query to be executed against the database, the finder method invoked on the bean provided by the server computer; a descriptor that contains an enable dynamic queries element, wherein the enable dynamic queries element has a value of either true or false for enabling the query, such that invoking queries when the enable dynamic queries element has a value of false results in a remote or local exception being thrown depending on whether the queries submitted after setting the enable dynamic queries element were invoked from a local interface or a remote interface, wherein the dynamic queries element is specifiable by an enable-dynamic-queries parsed character data (PCDATA) tag, wherein said tag signifies that the dynamic queries element contains character data parsed by an extensible markup language (XML) parser; wherein upon invocation of the finder method, the server computer extracts the settings contained in the properties object and parses the finder method in order to dynamically generate the query to be sent to the database; and a collection of results that is returned from the database in response to the finder method, said finder method being invoked on a query home interface used to execute dynamic queries. 12. A system according to claim 9 wherein the bean is an Enterprise Java Bean (EJB) and the size of the EJB deployment descriptor is reduced by dynamically generating the query.