3. A database management system adapted to process queries in a pervasive computing environment, said pervasive computing environment comprising at least one client adapted to interact with a server over connection services, said at least one client controlled and configured to a. receive the queries on a pervasive computing device in SQL, the queries comprising a plurality of query terms; b. interpret the queries on a pervasive computing device by associating at least one declarative language function with the query terms wherein the declarative language function is implemented in a declarative language that is chosen from the group consisting of ML, LISP, and HASKELL; c. convert the queries represented by the at least one declarative language function to a plurality of Java language statements on a pervasive computing device; and d. execute the Java language statements.
3. A database management system adapted to process queries in a pervasive computing environment, said pervasive computing environment comprising at least one client adapted to interact with a server over connection services, said at least one client controlled and configured to a. receive the queries on a pervasive computing device in SQL, the queries comprising a plurality of query terms; b. interpret the queries on a pervasive computing device by associating at least one declarative language function with the query terms wherein the declarative language function is implemented in a declarative language that is chosen from the group consisting of ML, LISP, and HASKELL; c. convert the queries represented by the at least one declarative language function to a plurality of Java language statements on a pervasive computing device; and d. execute the Java language statements. 4. The system of claim 3 , wherein the declarative language function is identified by a reference to further code such that the declarative language function is treated as data within the plurality of Java language statements.