File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "???" Watch "???" New topic


Vibhas Kumar

Joined: Oct 13, 2009
Posts: 28
Hi friends Its Vibhas and working on JSF although i am new to jfs but my problem some what related to java and database at the same time i dont know where exactly i post this question but still help me if any one knows it. I am currently working on Weblogic 9.2 server. My problem is i have a database table in which i have only read permission .
Now in my application i am connecting that database through jdbc connection (i.e in jsf itself). Now the problem is my application should run a continuous checking of that datatable to know that if any new entry is made in that table or not. That is i guess i have to write a script or something of that kind please help me . With some idea and if possible with some demo code to understand..
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

A title such as "???" is worse than useless. What would happen if all posts had such a title?

Please go back and change your post to add a more meaningful subject by clicking the button on your post.

[Asking smart questions] [About Bear] [Books by Bear]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Welcome to JavaRanch.

This being a web app, you could use a servlet context listener to start a Timer with an associated TimerTask that runs every N minutes, performs the DB query, and then does whatever should be done if changes have happened.
I agree. Here's the link:
subject: ???
It's not a secret anymore!