Hi,
I'm working on Web-Application (Tomcat), that mapps about 10 DB-Tables. A fatclient, which communicate via Webservice with the Server, can select, update, insert or delete some Information on the DB.
This part is already written and works fine.
Now, I want to include a dynamic part in the application. If the client does a query on a table (Testtable) that doesn't already exist on the DB, the whole configuration of the table (Tablename, attributenames and types, etc.) will be sent to the Web-Appl.
With this config-data I want to create a Pojo (Testtable.java), compile it, map it, create the table on the db and everything while runtime.
Is there an easier way to do that? Any suggestions?
Thanks in advance
Bona
|