advertisement agile books business development employee entrepreneurship espm finances hire job landscape management money offsite online outsource outsourcing people plan project rate requirements reviews risks software startup team time

Introduction
Examples
Downloads

Support This Project

The best Java IDE

dt-Source

This is a taglib providing connection between Displaytag taglib and data sources, allowing to load partial lists from different sources, like Hibernate, JDBC, etc. Requires Spring framework.
During the project growth, it's getting new functionality and features like filters, searches, etc. completely customizable with CSS.

The most of the code was written by Olexiy Prokhorenko with some help from Olexandr Prokhorenko and later was donated to Open Source Community. We support this project free of charge but we welcome donations. :)

dt-Source: Hibernate and JDBC data sources for DisplayTag

Introduction

Every developer needs clean and clear solution. Nowadays, it also needs to be fast. That's why many people choose DisplayTag as a helper tool. It's an awesome open source suite of custom tags that provide high-level web presentation patterns which will work in an MVC model. The library provides a significant amount of functionality while still being easy to use. However, few features are missing them. Among them is an ability to load lists from data sources, such as wide-spread Hibernate or classic JDBC. Even if there are few methods how to use them, still they need to load all records from the storage, before they will be displayed. That can work for you if your database is pretty small. But once you have thousands of records, you will get a real pain in the ass. You will need to fetch all of records before showing just twenty or fifty of them per page. That's not smart, but there is no other way. Developers of DisplayTag say that:

No default sort for data sources in DisplayTag

We want to fill this spot. dt-Source is a custom JSP tag library as well. Thanks to new features of DisplayTag 1.1 and dt-Source it is possible to load partial lists and do external sorting. So, now, if you have 10,000 records to fetch, but you show only 50 per page, only 50 will be fetched. And you are not losing sorting features - everything remains the same, but things will move much faster. And it's extremely easy!

dt-Source is Spring-powered, and supports Hibernate with JDBC data sources.

Click here to check our examples how to use dt-Source with DisplayTag. And you can download latest pre-built JAR and simple demo here.

At the 5th of May, 2006 we've been granted with a free license for using IntelliJ IDEA. Our team believes that migrating to this IDE will make our development process just a pleasure. Thanks!

This site is better viewed with Mozilla Firefox.