View previous topic :: View next topic |
Author |
Message |
shijo Beginner
Joined: 22 Jun 2005 Posts: 2 Topics: 1 Location: Cochin, India
|
Posted: Tue Dec 05, 2006 5:56 am Post subject: To invoke java from COBOL |
|
|
One of my projects requires executing Java programs using some inputs from Mainframe. Our programs call a third party product written in COBOL. Now the third party product is changed to java and is available in a UNIX server. It |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
shijo Beginner
Joined: 22 Jun 2005 Posts: 2 Topics: 1 Location: Cochin, India
|
Posted: Thu Dec 07, 2006 6:51 am Post subject: |
|
|
Kolusu,
Thanks for your quick response.
I have this document. We have to call the Java program which is available in a unix server fom a batch cobol program. We can easily do this from outside the COBOL program. BEA WebLogic 8.1 is available in Unix server.
Thanks
Shijo |
|
Back to top |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Fri Dec 08, 2006 8:55 pm Post subject: |
|
|
shijo,
Quote: | Can we use TCP/IP sockets or any other method (like MQ) from batch COBOL program to invoke Java programs reside in UNIX server? |
You can explore the option of setting up triggers using WebSphere MQ server on the Unix server. Batch COBOL program puts a message on the remote queue which points to a queue on the Unix end, which is connected with a process to fire the Java program.
Leave the TCP/IP sockets listening part, security, integrity, etc to the queue manager. _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
 |
|
|