![]()
|
||||||
OOP RequestStore API: Saves HTTP request parameters into SQL table through JDBC
This Java API stores the HTTP request parameters into the SQL table through JDBC. The unique ID is issued for each request, and another Servlet/JSP can use it to get the parameter values later.
Putting it all togather : OOP Bento frameworkThis Java API is now a part of OOP Bento framework. In this MVC framework by XML, you can write all the GUIs in the web application in the normal HTML, XHTML, WML, HDML or any other mark-up languages. And you no longer need to bother about the user authentication and the session tracking. Because its full working source code example will be the good starting point of this Java API, please also try OOP Bento framework. Related Pages:
|
||||||
HTTP Request persistence by JDBC ...When the user fills the CGI FORM and clicks the button, the HTTP request with a set of request parameters is sent to your JSP/Servlet. With this API, just a single method call is enough to persist all the HTTP request parameters. At this time, the unique ID is issued for each HTTP request. And your JSP/Servlet can save this ID into the SQL table specific to your web application. The code of your JSP/Servlet will look like this:
Later, another JSP/Servlet in your web application picks the ID, and can use it as the parameter of this API. Given the unique ID, this API retrieves the persisted HTTP request parameter(s). Another Servlet in your web application may include the lines like below:
Note that the last 2 lines in the above example depends on OOP ViewGenerator API. As you notice, the code fragments above are independent of the original CGI FORM, i.e. you can add/delete the items in the CGI FORM without updating the source of both Servlet.
DownloadThis API is now a part of Bento framework. There are the better documentations and source code examples on the web site for Bento framework. There, you will also find the link to download the entire framework or each API in it. |
|
|||||
|
Java and all Java-based trademarks and logos are trademarks or registered of Sun Microsystems, Inc. in the United States and other countries. |
||||||
|
ALL CONTENTS COPYRIGHT 1997-2007, OOP-Research Corporation. All rights reserved. |
||||||