The Artima Developer Community
Sponsored Link

Java Answers Forum
Calling Java Method from remote C++ Class

1 reply on 1 page. Most recent reply: Sep 25, 2002 2:46 AM by anonymous

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Ramesh

Posts: 2
Nickname: minushan
Registered: Aug, 2002

Calling Java Method from remote C++ Class Posted: Aug 31, 2002 3:51 AM
Reply to this message Reply
Advertisement
Hi All,
we have developed a project in Java.In our classes we have methods which have their own input,logic and returns output.Now we are in need to call our methods which is in a specific IP, from a C++ system which again is in diff IP.Can anyone tell us how to call our java methods from C++ system and use teh results in C++?
Thanx
Arattai Boys


anonymous

Posts: 3
Nickname: anonymous
Registered: Sep, 2002

Re: Calling Java Method from remote C++ Class Posted: Sep 25, 2002 2:46 AM
Reply to this message Reply
Use JNI on the C++ client to access a Java class. This Java class could use RMI to connect to your Java application and handle the communication.

Flat View: This topic has 1 reply on 1 page
Topic: new student Previous Topic   Next Topic Topic: Will singleton work in multiple Vms

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use