aspose file tools
The moose likes JSF and the fly likes ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "???" Watch "???" New topic
Author

???

Vibhas Kumar
Greenhorn

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..
Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56204
    
  13

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.

[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35250
    
    7
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.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ???
 
Similar Threads
Java code to run periodically to check the change in DB
Inner Join of entity objects
refresh a JSF with database link!!!
Database design
JAAS - JSF 1.1 to JSF 1.2