• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

calling servlet and PHP from oracle

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi

I want to call a java servlet and a PHP file fro with in the oracle database trigger.

I also want to execute a stroed procedure at fix time. e.g after each 35 minutes. or at every 9:30Am . Please do help me.
 
author & internet detective
Posts: 42160
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I want to call a java servlet and a PHP file fro with in the oracle database trigger.


I don't think you can do this. A trigger can only execute code in the database.

I also want to execute a stroed procedure at fix time. e.g after each 35 minutes. or at every 9:30Am . Please do help me.


You could use a cron job on UNIX (or a task in Windows scheduler) to kick of the stored procedure. The cron job would call a script or JDBC to run the stored procedure.
 
Ranch Hand
Posts: 1143
1
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kapoor,
I just answered this very same question that you asked in the "Servlets" forum. However, you didn't mention the requirement to execute a stored procedure at regular intervals.

For your information (and Jeanne's), from Oracle version 8i, the DBMS_JOB package can be used to achieve this. Please see the "Supplied PL/SQL Packages and Types Reference" in the Oracle documentation, which is available online from Oracle's Tahiti Web site.

Good Luck,
Avi.
 
reply
    Bookmark Topic Watch Topic
  • New Topic