-
Java-Generic Program
Hi Team,
The current connector for accepting request to our existing system is written in C language,we had build a ".so" file by compiling c program using MF cobol.
-Cobol application calls this ".so" files and passes the required buffer.The current data structure in our application is simple string.
Current Structure:-
C Connector receives data from cobol and publish it to java program
-Now we are getting request from other modules in our organisation which are written in J2ee, PHP they want to send data through our connector.(We will define the data structure whether they should use soap or xml).
Could some one guide me what are the possible way I can go about it,How can I replace C connector by java program which can receive xml messages and parse it to string.also is there any possibility that I can use simple java program to send the xml
message from application to our system.
Any sample program for learning will be helpful.
Thanks in advance.
-Lisha
-
Re: Java-Generic Program
Hello lisha.ahuja. Welcome to the Java Programming Forums.
There are several ways to parse XML data in Java.
Take a look at these links:
http://www.javaprogrammingforums.com...sing-jaxb.html
http://www.javaprogrammingforums.com...dom-parse.html
-
Re: Java-Generic Program
Thanks for your reply,
I had gone through the example,but It is not more clear to me that how the program will suffice my requirement of changing the c connector by taking the reqired messages from another external application
-
Re: Java-Generic Program
--Also can you give me some example where in I can use java program at application end and client end which can communicate with each other and exchange messages(webservice or any other information)