• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java RMI and C

 
Neel Chow
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can C/C++ code access Java Rmi Service???
Thanks
Avijit
 
Avi Abrami
Ranch Hand
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Avijit,
Yes, C/C++ code can access java RMI service, using RMI-IIOP. I suggest you search the Internet for RMI-IIOP, and you should find ample information.

To get you started, here are the results of my search:

http://tinyurl.com/bjo7j

Good Luck,
Avi.
 
Neel Chow
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Avi!!
 
Dom King
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It might be easier to use JNI from C/C++ to take advantage of an installed JRE's support for Java RMI.

If you decide to try JNI from C++, take a look at NewJNI, the natural C++ interface to Java. NewJNI is included free with NewJ for C++.

http://www.pure-native.com/newj.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!