<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Call a C function from JAVA in OpenVMS using RPC(Remote Procedure Calls) in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/call-a-c-function-from-java-in-openvms-using-rpc-remote/m-p/4822341#M36214</link>
    <description>&lt;P&gt;Could the solution at &lt;A target="_blank" href="http://vouters.dyndns.org/tima/OpenVMS-TCPIP-ONC-RPC-example.html"&gt;http://vouters.dyndns.org/tima/OpenVMS-TCPIP-ONC-RPC-example.html&lt;/A&gt;﻿ be of any help to you ? If you are only fluent with Java programming, please do consider the pure Java RPC solution I mention in this paper. However, this later will have an additional cost for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an alternative and instead of writing a JNI to call the ONC RPC methods, you can as well under Java for OpenVMS IA64 V6.x directly interface TCP/IP ONC RPC using Java Native Access (JNA). If you are not aware of JNA, here are a set of VMS examples at &lt;A target="_blank" href="http://vouters.dyndns.org/tima/OpenVMS-IA64-Java-JNA-libffi-Porting_JNA_to_OpenVMS_Itanium_servers.html"&gt;http://vouters.dyndns.org/tima/OpenVMS-IA64-Java-JNA-libffi-Porting_JNA_to_OpenVMS_Itanium_servers.html&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2011 08:52:40 GMT</pubDate>
    <dc:creator>Ph Vouters</dc:creator>
    <dc:date>2011-07-12T08:52:40Z</dc:date>
    <item>
      <title>Call a C function from JAVA in OpenVMS using RPC(Remote Procedure Calls)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/call-a-c-function-from-java-in-openvms-using-rpc-remote/m-p/4822287#M36213</link>
      <description>&lt;P&gt;I have a requirement to call a function using RPC(Remote Procedure Calls)&amp;nbsp;from JAVA in OpenVMS.&amp;nbsp; The RPC server runs on the OpenVMS sytem. I have the function prototypes defined in an IDL file and their equivalent C routines. I must be able to connect to the RPC server from JAVA and call the C routines passing the required parameters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will be really helpful if&amp;nbsp;someone&amp;nbsp;could suggest me the way forward and post me with any example. I have tried WSIT but it doesn't suit my purpose.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OpenVMS v8.3 AlphaServer&lt;/P&gt;&lt;P&gt;Java 1.4.2&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2011 08:13:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/call-a-c-function-from-java-in-openvms-using-rpc-remote/m-p/4822287#M36213</guid>
      <dc:creator>ahmedm</dc:creator>
      <dc:date>2011-07-12T08:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Call a C function from JAVA in OpenVMS using RPC(Remote Procedure Calls)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/call-a-c-function-from-java-in-openvms-using-rpc-remote/m-p/4822341#M36214</link>
      <description>&lt;P&gt;Could the solution at &lt;A target="_blank" href="http://vouters.dyndns.org/tima/OpenVMS-TCPIP-ONC-RPC-example.html"&gt;http://vouters.dyndns.org/tima/OpenVMS-TCPIP-ONC-RPC-example.html&lt;/A&gt;﻿ be of any help to you ? If you are only fluent with Java programming, please do consider the pure Java RPC solution I mention in this paper. However, this later will have an additional cost for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an alternative and instead of writing a JNI to call the ONC RPC methods, you can as well under Java for OpenVMS IA64 V6.x directly interface TCP/IP ONC RPC using Java Native Access (JNA). If you are not aware of JNA, here are a set of VMS examples at &lt;A target="_blank" href="http://vouters.dyndns.org/tima/OpenVMS-IA64-Java-JNA-libffi-Porting_JNA_to_OpenVMS_Itanium_servers.html"&gt;http://vouters.dyndns.org/tima/OpenVMS-IA64-Java-JNA-libffi-Porting_JNA_to_OpenVMS_Itanium_servers.html&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2011 08:52:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/call-a-c-function-from-java-in-openvms-using-rpc-remote/m-p/4822341#M36214</guid>
      <dc:creator>Ph Vouters</dc:creator>
      <dc:date>2011-07-12T08:52:40Z</dc:date>
    </item>
  </channel>
</rss>

