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

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LeanMoreTryMoreAuthor Commented:
I thought I should use JMS. Obviously this is wrong, isn't it?

Using dbms_pipe would be a better idea
I think JMS would be more involved.  dbms_pipe should work quite easily.
LeanMoreTryMoreAuthor Commented:
Thanks for his quick solution
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.