I have to develop a web application which is structured in this way:
the logical layer is composed by some servlets which handle the relational DB. Now the presentation layer is no longer common HTML, but I want to create an XML structure for my data (taken from the DB, and stored in DB on user form compiling... obviously), which is transformed by XSL in XHTML for PC, XHTML/MP for multimedia phones, and WML for simple WAP phones (the correct transformation is performed by a recognizing mechanism based on the user-agent and the content-type HTTP variables). I have taken a look to the MobileZoo example, it is very interesting, but the XML component is quite unbound from the DB handling component. How can I handle the SQL queries and put thir output in the XML file for transformation? Thank you for any suggestion. Fabio