I read Skype4Java (java api for skype) and noticed that they use jni to access the skype client.
intuitively, I assume that java already has a standard library that has an OS-sensitive jn implementation for accessing other processes. I set it up to search, but could not find it.
Is there such a library? if not, is there a best practice for accessing another process in os, and not necessarily for the skype client?
I think that perhaps you need to define what “access” means. If you're talking about plain old inter-process communication, then sockets or JNI is your best bet.
Garth - MMF IPC C, , Java MMF . , , ...
, , - , , . , Java: -)
Java 1.4, . . Java.nio.MappedByteBuffer.
This is not exactly what you are looking for, but it will probably help a lot nonetheless: Java Native Access project on java.net.
Do not forget the sockets ...
Source: https://habr.com/ru/post/1697806/More articles:Distributed cache / session, where should I go? - cachingСамый быстрый способ получить производительность в VS 08 и С# - c#Disable run-time checking in Visual Studio - c ++automatic invalidation of request cache - cachingHow do you clone 'WebControls in C # .NET? - c #Programmatically renaming a table in SQL Server 2000 - is this the only sp_rename solution? - sql-serverWhat is the size limit of an application object in classic asp? - cachingHow would you implement ant-shaped patterns in python to select groups of files? - pythonКак отслеживать время реплицируемых строк для подписчиков в SQL Server 2005? - sql-serverWhy does ActiveRecord serialization accidentally distort my data? - ruby | fooobar.comAll Articles