::Z::Thinking::

::Simple::
文章 - 124,收藏 - , 评论 - 49, trackbacks - 0

Core J2EE Patterns - Value List Handler

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 .

Discussions

If you are using the ValueList and you want to be listed on the Powered By page, drop me a line.

To help me out, let me know how you found ValueList? ( SourceForge Forum )

Join the conversation at theserverside.

Reason for starting this project.

I inherited a J2EE web solution that choose a different component to display tables. Because the other component does all the sorting and paging in the JRE, not the databse where where it belongs; the soltion did not scale at all! I searched the web to find a replacement and was discuraged by the results. So I grabbed code for past projects and started valuelist.sourceforge.net .



Trackback: http://tb.donews.net/TrackBack.aspx?PostId=47721


[点击此处收藏本文]  发表于2004年07月22日 3:19 PM




正在读取评论……