Java access to Shared Memory

Hai All,

How to access a C++ application's data in shared memory from a Java application?

This should be possible i suppose.

Preferably ... I am looking for solution using core java apis ( not using external apis or libraries ).

If someone could help me out in finding the right way to get this done ..

Thanks

[357 byte] By [chandrakanth.tsa] at [2007-11-26 13:58:38]
# 1
i am also looking for the same solution.i have found out that HybridSDO provides a solution to this issue.
Deepak-katariyaa at 2007-7-8 1:39:05 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
You can look at java.nio.channels.* that is where it should be. But last time I looked it didn't in fact implement shared memory access.Other than that you would have to use JNI.
jschella at 2007-7-8 1:39:05 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3
I am looking for ... too.I want to transfer object instance between shared memory and jvm or two jvmpossible?Another quetion: how to clone object in jvm by jni?thanks
lihy70a at 2007-7-8 1:39:05 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 4
> I want to transfer object instance between shared> memory and jvm or two jvm> possible?>An object instance? No.Data - yes.> Another quetion: how to clone object in jvm by jni?By calling the java clone() method.
jschella at 2007-7-8 1:39:05 > top of Java-index,Java HotSpot Virtual Machine,Specifications...