writing a DB checker / Notification application

Associate
Joined
18 Oct 2002
Posts
1,312
Location
Milton Keynes
Sorry this is a bit vague, just asking for a rough idea of how to achieve my goal so I can research into it.

Basically want to make a message board type system, but have a desktop application that when running will check the db every minute or whatever, and if there are any new messages to sprout a popup.

Would this be easiest in java or any other ideas? I am a PHP / mySQL dev, with some C and Java experience from uni days so I know my way about + google for the win :D

Any tips would be great :cool:
 
Mort said:
Sorry this is a bit vague, just asking for a rough idea of how to achieve my goal so I can research into it.

Basically want to make a message board type system, but have a desktop application that when running will check the db every minute or whatever, and if there are any new messages to sprout a popup.

Would this be easiest in java or any other ideas? I am a PHP / mySQL dev, with some C and Java experience from uni days so I know my way about + google for the win :D

Any tips would be great :cool:

You could probably throw together a simple java client app using SOAP without too much bother. Simply send a request saying 'how many messages have there been since (time of last request) and a simple server app responds with a number.
 
Creating an XML file on the server containing changes and reading that could save some overhead rather than if you were to connect and check the db externally. That's probably how I'd do it, seeing as XML is so easily interpreted by most languages out there - it would be a snap.
 
Back
Top Bottom