Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

data paging

busitech
2010-02-14
2013-04-29
  • busitech
    busitech
    2010-02-14

    I have not noticed built in support for data paging into the Clear Toolkit.  Do you have a method of implementing data paging in your enterprise projects which use BlazeDS?  Thank you.

     
  • We do not have paging there. We are not that far, given that we support AUTOSYNC (push from other connected clients), however, this seem to be a rare request so far.

    Kind Regards,
    Victor

     
  • busitech
    busitech
    2011-10-27

    For anyone who may see this thread, we've added a simple index-based data paging implementation to DataCollection, and contributed the changes back to the project.  Using an index doesn't require the application server to preload the state of the entire list in order to page it, nor watch for the client to release the collection to destroy the cached list.  The work is offloaded to the database server.  With an application with hundreds of users and multiple sessions open, this can be a suitable trade-off in favor of performance and lower overhead at the application server level.

     
  • Nono Carballo
    Nono Carballo
    2011-10-27

    Have you committed the changes to the repository?

     
  • These changes are in "incubator" branch. We look to adopt them within couple of months, cover with Wiki, published examples, etc.
    WBR,
    Victor