This paper describes a client-server application architecture for interactive communication over the World Wide Web (WWW).The clients were java applets running in web *** server was a java application running on a Sol...
详细信息
ISBN:
(纸本)7800908275
This paper describes a client-server application architecture for interactive communication over the World Wide Web (WWW).The clients were java applets running in web *** server was a java application running on a Solaris *** client requested a socket connection to the server to transfer data about user *** data included heterogeneous data types for graphic and text *** clients could connect to the central server *** server processed input streams from clients and wrote to output streams which were then transferred to other designated *** client-server architecture was proven to be economical and effective for rapid interactive web communication.
The use of the java Native Interface (JNI) allows taking advantage of the existing libraries written in different programming languages for code reuse, performance, and security. Despite the importance of JNI in devel...
详细信息
The use of the java Native Interface (JNI) allows taking advantage of the existing libraries written in different programming languages for code reuse, performance, and security. Despite the importance of JNI in development, practices on its usages are not well studied yet. In this paper, we investigated the usage of JNI in 100 open source systems collected from OpenHub and Github, around 8k of source code files combined between java and C/C++, including the java class libraries part of the JDK v9. We identified the state of the practice in JNI systems by semi-automatically and manually analyzing the source *** qualitative analysis shows eleven JNI practices where they are mainly related to loading libraries, implementing native methods, exception management, return types, and local/global references management. Basing on our findings, we provided some suggestions and recommendations to developers to facilitate the debugging tasks of JNI in multi-language systems, which can also help them to deal with the java and C memory.
暂无评论