I'm in the process of writing a project that will simplify web app development. It's really hard to explain - but this is how it will work:
You create web pages via interactive forms editor and the pages are saved into xml file. When writing your servlet all you need to do is to write a class that will implement a function for each web page the class will need to handle. The framework will call corresponding function based on which page client requested and call that function, passing a complete document object (loaded from xml file). At that point the function can modify the htm document (via api calls, each html objects has a matching java class). The end result is later on rendered by the framework to the http client.
I hope I'm explaining this right. Those of you who work on java web applications (websphere, tomcat, weblogic) let me know what you think.
Thanks.
You create web pages via interactive forms editor and the pages are saved into xml file. When writing your servlet all you need to do is to write a class that will implement a function for each web page the class will need to handle. The framework will call corresponding function based on which page client requested and call that function, passing a complete document object (loaded from xml file). At that point the function can modify the htm document (via api calls, each html objects has a matching java class). The end result is later on rendered by the framework to the http client.
I hope I'm explaining this right. Those of you who work on java web applications (websphere, tomcat, weblogic) let me know what you think.
Thanks.