Question : Call Pro*C program from within the Oracle 10g WAS

Anyone who has any idea how to initiate Pro*C program from within Oracle 10g WAS..

Our Oracle10g Application Server is run on the window server 2003 and Pro*C are running on the Solaris Sever..

I have no idea how to do...please advise

Answer : Call Pro*C program from within the Oracle 10g WAS

you can create daemon process on solaris that listens to a port that your application can send info to and that will kick off the pro*c for you.

Instead of a unix port, you could have the process connect to your database and listen on a dbms_pipe.

Your pro*c could be both of those applications,  either a port or pipe listener, but it would be singly threaded then which may or may not be ok depending on your situation.

You could also write your pro*c as a library instead of a stand alone executable and then expose it through pl/sql in your database that your app could call.

I would lean toward the latter
Random Solutions  
 
programming4us programming4us