摘要
在介绍Proxy设计模式和JNI编程规范的基础上,着重探讨了在重用原有代码中将Proxy模式结合到JNI中,从而解决了在Java代码中连接native函数时由于函数型构不一致而引起的必须修改原有代码的问题,具有较普遍的意义。
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.
出处
《计算机工程》
CAS
CSCD
北大核心
2004年第13期56-57,86,共3页
Computer Engineering
基金
国家"863"计划基金资助项目(2002AA414070)