Results 1 to 4 of 4
  1. #1
    ali_sakar is offline Member
    Join Date
    Feb 2009
    Posts
    29
    Rep Power
    0

    Default Interactive DashBoard.

    Hi,

    I am new to jsp. I have the following requirement.
    I have to create an Interactive Dashboard. Dashboard is supposed to show multiple blocks. Each block consists of multiple records from different tables.
    As soon as the table is updated/inserted into, the block should show it on the fly w/o the user refreshing the page.
    And the user is also to be given the facility to update the row in the block and save the same in the database.

    Could anyone suggest me how to achieve this.
    I created multiple divs in a jsp page but dont know how to refresh the same w/o user interaction.
    1 more way is to create multiple jsps instead of divs but is this a proper way... wont this make my page heavy to load??
    Or is there any other way to achieve this??

    Forgot to mention i am working on (Springs/Hibernate/Oracle).

    Thanks in advance.
    Ali.
    Last edited by ali_sakar; 01-04-2012 at 06:51 AM.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,446
    Rep Power
    18

    Default Re: Interactive DashBoard.

    The only way to refresh is to have the client ask the server every so often for the latest data, using Ajax calls generally.
    You'd have a servlet for each of these different requests (presuming each block is a different set of data) which will return the data, and then your javascript will update the relevant div.

  3. #3
    ali_sakar is offline Member
    Join Date
    Feb 2009
    Posts
    29
    Rep Power
    0

    Default Re: Interactive DashBoard.

    I will try what you are saying. If you have any sample code of what you are trying to say.. it will be really helpful.

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,446
    Rep Power
    18

    Default Re: Interactive DashBoard.

    There's stacks of stuff out there on the internet that covers this.

Similar Threads

  1. interactive input i think.
    By seanfmglobal in forum New To Java
    Replies: 1
    Last Post: 11-29-2010, 01:06 AM
  2. Interactive floorplan
    By teckygamer in forum AWT / Swing
    Replies: 0
    Last Post: 09-06-2010, 12:43 PM
  3. Interactive Panel
    By homistar in forum Java 2D
    Replies: 4
    Last Post: 10-06-2009, 09:16 AM
  4. Interactive vector map in Java
    By nenadm in forum AWT / Swing
    Replies: 1
    Last Post: 02-17-2009, 08:52 PM
  5. Java Interactive Profiler 1.1
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 06-24-2007, 08:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •