Logo of Bento frameworkspaceObject Oriented Programming


JBuilder 2007

ConfigPerHost

Free source code example for Bento framework...

Seeing is believing! First of all, please enjoy the example of Bento framework that is running on our web site. It is the simple photo Blog where you can upload the image files by your web browser (multipart/form-data), or e-mail with file attachment. After you grasp how it works, please explore its source code. The source code of the example is included in the FREE trial version of Bento framework.

[ Try and download example ... ]

Single deployment for more than one host ...

Through mod_jk module, Apache web server can redirect the HTTP request to the Servlet running on Apache Tomcat. And one set of Servlet/JSP on Tomcat, that is waiting for the request on the local host, can accept the HTTP requests with various host headers. Please click the link below and look into the XML fragment of server.xml for Apache Tomcat 4:

[ server.xml for Tomcat 4 ... ]

This feature is useful when you deploy the same web application for multiple hosts, because you can avoid th duplicate installation of the same web application that results in the unnecessary resource consumption.

Initialization parameters for each host

Based on the host header in HTTP request, you may want to set the different values for the same initialization parameter. And ConfigPerHost makes it possible. Please click the link below and look into the example XML:

[ Example XML for ConfigPerHost ... ]

In addition to String and the typical primitive types, XML can define the Set and arrays of them.

Read Java doc / FREE Download

You can read the Java doc for this API online. Or it is included in the distribution of this API and you can download it at FREE.

Java doc README
Product License
Download

Copyright © 1997-2008 OOP-Research CorporationTM, All Rights Reserved.

Valid XHTML 1.0! Valid CSS!