title: Running a java program or service from oracle 11.2
body: <p>I have to write a java file watcher service that monitors a set of registered files. And the file watcher need to be run as a process or service in oracle. I know there is an <strong>Oracle file watcher</strong> that can be used, but i want to know if its possible to run a java program as a process from oracle.</p>
  
  <p>I'm quite new to Oracle and pl/sql. I was able to call java methods (stored procedures) from oracle, all the calls are stateless, where as in the file watcher service i need to add register new files and remove files from the service.</p>
  
  <p>is this possible to be executed in oracle? has anyone tried anything like this before.</p>
  
  <p>Many thanks</p>