Implementation of the Core J2EE Patterns - Value List Handler .
Most Java 2 Platform, Enterprise Edition (J2EE) applications have a search and query requirement to search and list certain data. In some cases, such a search and query operation could yield results that can be quite large. It is impractical to return the full result set when the client's requirements are to traverse the results, rather than process the complete set. Typically, a client uses the results of a query for read-only purposes, such as displaying the result list. Often, the client views only the first few matching records, and then may discard the remaining records and attempt a new query. The search activity often does not involve an immediate transaction on the matching objects.
In addition to implementing the Core J2EE Pattern, tag libries have been added to allow for easy intergration into any J2EE web application. The tag libs produce html tables from the ValueList, such as the table below:
A demo webapp illustrates the use of the ValueListHandler in a web enviroment can be viewed here: http://nighthawkds.homedns.org:8081/valuelist/ . It can be downloaded here: valueli st.war .