Announcement Announcement Module
No announcement yet.
How best to furnish content in AJAX app Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How best to furnish content in AJAX app

    Hi All,

    I am developing an application using Spring, Hibernate and I have made use of Ehcache as the second level cache.

    It is a AJAX application and I need help in designing one feature. In the application, a user is required to do a AJAX style search of his contacts. (Just like contacts are shown in gmail while selecting the recipients or other mail clients).

    What would be the best approach to design this? I plan to put some meta data of the contacts into a cache or HTTP session so that the contacts can be searched from the memory instead of the DB.

    I am sure that this is a standard practice for most of the applications. But still, what is the best practice to do such operations. Any pointer to examples with Spring, Hibernate would be great help. What type of cache in Ehcache should be used for this?