我必须得到没有任何经纪或服务器的两个不同的客户端应用程序的谈话。 什么是IPC的最佳方法beween两种工艺,Java和.NET?
I must get two different client application talk without any kind of broker or server. What is the best method for IPC beween two process, Java and .NET?
它必须能够在多用户termainl服务器的工作,所以没有插座,请。 我希望它重量轻,操作简单,一些插件和运行,所以没有RMI / WS吧。
It must able to be work in multi-user termainl server, so no socket please. I wish that it is lightweight and simple, something plug and run, so no RMI/WS please.
我现在想JNI来访问互斥和命名管道,我是去一个正确的方向?
I'm now thinking about JNI to access Mutex and Named pipes, am I going to a right direction?
任何想法表示欢迎!
感谢丹尼斯
您可以通过JNI(Java)和PInvoke的(C#)访问WinAPI的。 使用以下WinAPI的功能: CreateEvent的 SetEvent的 WaitForSingleObject的 CreateMutex ReleaseMutex 的CreateFileMapping(为共享内存) MapViewOfFile UnmapViewOfFile
You can access WinAPI through JNI(Java) and PInvoke(C#). Use following WinAPI functions: CreateEvent SetEvent WaitForSingleObject CreateMutex ReleaseMutex CreateFileMapping (for share memory) MapViewOfFile UnmapViewOfFile
上一篇:如何使用Forge Data Management API在BIM360文档中查找Revit文档衍生品URN文档、如何使用、衍生品、Data
下一篇:在Liqubase CustomTaskChange类中使用其他Spring Bean类中、CustomTaskChange、Liqubase、Spring