NEWBIE: How to wake up Java on MS SQL Server event?

Dear Java Experts,


I have an application with an ASP/Vbscript GUI, a Java back end and an MS SQL Server database shared by both.  The GUI writes the user input to the database, and the Java wakes up from its sleep once a second to process it if it's there.  (It's low volume...)

Is there a (fairly simple) way to have the Java wake up from it's sleep only when the GUI writes the user input to the database?  Or, is there a way for the Vbscript to send a message to the Java to wake up now?


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Can the GUI write a file that Java app will be watching for? And delete it after it awoke. This solution would be by far the easiest to implement.
BrianMc1958Author Commented:
Dear kerzner,

Thanks, but I'm really looking for a more direct method.  I'm trying to avoid having the Java app need to wake up and check something.  Instead, I'm looking for a  way to have something external wake it up...

You can use JMS for direct messaging between the two applcations. For Java JMS is native, but for other language you would have to find client code.

Or, you can have a trigger in MSSQL, which would then send a JMS message.

Effient and fast, but neither if fairly simple.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BrianMc1958Author Commented:
Dear Kerzner,

Thanks.  I'll be looking into this further.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.