Security Software review and downloads
  • Home
  • Spyware & Spyware Remover
  • Registry & Registry Cleaner
  • Firewall
  • Hacked
  • Uninstall & Uninstaller
  • Antivirus

Monitoring a table in Java?

June 11th, 2008 · 2 Comments

What's the best way to monitor a table from a java bean? Is it possible to detect new entries into the table dynamically without polling (re-querying) the table at timed intervals?
I want to load a bean at application startup with the entries from a table in the database, and then have it automagically detect if new entries are added to the table and load those entries so that it can "push" them to the client. (I'm planning to use Flex on Java) Something symilar to how Google mail just pops up with the new e-mails you recieved without you having to refresh the page.

Related posts:

  • Why is my new e-mail with Yahoo vibrating (with Firefox)?
  • Also, I have the new exite.com mail and my cursor keeps changing back and forth from and...
  • How do I refresh my Google toolbar?
  • Oh sorry......what I mean is I have GMail and Yahoo Mail buttons on my Google Toolbar...
  • I can't pop-up a table window at yahoo dominoes; only at the dominoes. I've tried everything. I have window XP
  • I get to the game server just fine. But when it's time to create a table or join one,...
  • How to connect to a java socket server that is behind a firewall?
  • Hi! I'm working on a java based chat program. It has a server and a client. The...
  • How to display the contents of an Oracle table in internet explorer?
  • I'm doing a project that involves displaying the contents of an Oracle database table in...
  • How can i design a network monitoring software in windows or Linux?
  • The software has to be like a client/server model. The server should be able to find out...
  • i have some software installed on my laptop,,,i want 2 know is it necessory 2 have them or i can uninstall plz?
  • i have java(TM) 6 update 2 java(TM) 6 update 3 java (TM) 6 update 5 java(TM) 6...
  • How can I bypass 8e6 Client firewalls?
  • To get on certain websites like my e-mail, I mean. E-mail is important. I have managed...
  • Why is Safari for mac so slow?
  • I just recently purchased my first mac, and overall I'm impressed with the...
  • What the hell is Wsearch, and why has it taken over Google on my Mac?
  • Whenever I try to load google.com or search in the google toolbar, whis website called...

    Tags: Monitoring Software


    2 responses so far ↓

    • 1 Ravindra G // Jun 11, 2008

      It is not possible to detect new entries in a table without polling. If you do not want to touch the table (query the table), you can create another table with a single column.
      Write a trigger for the "after insert" event of first table and set the flag.
      Through the program you query the second table and reset the flag.
      According to the flag, you can know whether new entries are added or not.

      Hope this helps.

    • 2 himanshu s // Jun 11, 2008

      Even I got this type of problem in my java Swing Application ………………. & I got a solution through action listener I just added action listener to every section of row & column in table (eg. Like in excel section A , section B….) so that when ever client or user enter some data through form section or table……….. Action listener reads up content if statement is true he add data into the table…

      I hope using this your problem will be solve :) bye

    Leave a Comment

    *
    To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
    Click to hear an audio file of the anti-spam word

    Tags: Email Spam Uninstall spyware Security Software Trend Micro Registry Cleaner Pc Tools Norton Nod32 Kaspersky Internet Security Hacked Firewall Computer Security Avg Avast Antivirus Ad Aware Monitoring Software Encryption Backup


    A Slow System?
    Harassed by DLL errors?
    Plagued by constant Blue Screens?
    Receiving error messages and don't know why?

     
    • Most popular Software downloads

      • Pctools
      • kaspersky
    About | Contact Us | Old Sitemap Security Software review and download . All rights reserved PoweredBy Yahoo!API.