摘要: 在介绍Proxy设计模式和JNI编程规范的基础上,着重探讨了在重用原有代码中将Proxy模式结合到JNI中,从而解决了在Java代码中连接native函数时由于函数型构不一致而引起的必须修改原有代码的问题,具有较普遍的意义。
关键词:
设计模式,
Proxy模式,
JNI,
Native
Abstract: This paper discusses the Proxy design pattern and the JNI (Java Native Interface) programming technology in summary. It can overcome these difficulties by implementing Proxy pattern in JIN programming. At the end of the paper, It compares two ways of binding Proxy and JNI.
中图分类号:
周营烽,魏宝刚,范战新. Proxy思想在代码集成中的应用[J]. , 2004, 30(13): 60-.
ZHOU Yingfeng,FAN Zhanxin,WEI Baogang. Application of Proxy Pattern in the Integration of Code[J]. , 2004, 30(13): 60-.