• Post Reply Bookmark Topic Watch Topic
  • New Topic

Automatic data referesh in tables  RSS feed

 
viswanath kuppam
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I have one requirement like, We have JTable on the screen which displays data after getting from database, Is any component provides a feature like if any changes in the database i.e insert/update/delete on the db table it should reflect on the data displayed in the JTable on the screen automatically.
If any component is not available, what is the best approach to achieve this. Please provide me solution as soon as possible
Thanks in advance
 
Don Kiddick
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no standard component that does that. You may find a 3rd party (non-free) component somewhere.
If you're going to Do It Yourself the main approaches I can think of are :
  • Poll the database.
  • Add triggers to the database and somehow get the triggers to notify your program. Modern releases of Sybase can send UDP messages. I imagine the other big dbs have other ways of communicating.
  • Intercept messages from whatever is updating your database

  • D.
     
    viswanath kuppam
    Greenhorn
    Posts: 3
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    HiDon,
    Thanks for ur reply. We are ready to go for any third party (non free) components also. Can you suggest me some of the available 3rd party components.
    thanks
     
    Don Kiddick
    Ranch Hand
    Posts: 580
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Don't know mate. You could try looking here
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!