Can we access C++ Objects in Java

Can we access C++ Objects in Java

Page 1 of 1

1 Replies - 696 Views - Last Post: 24 September 2009 - 05:23 AM Rate Topic: -----

#1 praveen_gps  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 24-September 09

Can we access C++ Objects in Java

Post icon  Posted 24 September 2009 - 01:35 AM

Hi,

Can we access C++ Objects in Java.

My requirement is, i want to place a C++ object in an external queue and retrieve the same from java application.
Is this possible.
Is This A Good Question/Topic? 0
  • +

Replies To: Can we access C++ Objects in Java

#2 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: Can we access C++ Objects in Java

Posted 24 September 2009 - 05:23 AM

Sure. Java has the Java Native Interface (JNI) which actually plays rather nicely with C++. For a nice introduction Sun has a book that you can download here -- and there are a few "tutorials" out there if you Google for JNI Tutorial.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1