我知道在这里已经提到了类似的question,但似乎没有人回答过这个问题。我正在研究的项目需要这些功能。
谢谢!
答案 0 :(得分:0)
+--------------+ +--------+
| Client (JVM) | - 1. download DLL --> | Server |
+--------------+ +--------+
| | ^ |
| | | |
| | | |
| | +------- 2. DLL-----------------+
| |
| |
| +-- 3. save DLL into temporary location --+
| |
| |
| \ /
| /tmp/some_file
|
|
+--- 4. load file using System.load
To access files on server do one of these (few loose ideas):
- map disk or mount SMB resources
- implement RMI inside native code loaded into JVM via JNI
- implement remote access to files