- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Call a C function from JAVA in OpenVMS using RPC(R...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2011 01:13 AM
07-12-2011 01:13 AM
Call a C function from JAVA in OpenVMS using RPC(Remote Procedure Calls)
I have a requirement to call a function using RPC(Remote Procedure Calls) from JAVA in OpenVMS. 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.
It will be really helpful if someone could suggest me the way forward and post me with any example. I have tried WSIT but it doesn't suit my purpose.
Thanks for your help.
OpenVMS v8.3 AlphaServer
Java 1.4.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2011 01:52 AM
07-12-2011 01:52 AM
Re: Call a C function from JAVA in OpenVMS using RPC(Remote Procedure Calls)
Could the solution at http://vouters.dyndns.org/tima/OpenVMS-TCPIP-ONC-RPC-example.html 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.
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 http://vouters.dyndns.org/tima/OpenVMS-IA64-Java-JNA-libffi-Porting_JNA_to_OpenVMS_Itanium_servers.html