Font Size: a A A

Research And Design Of Adaptation Scheme Of The Applications Based On Java Web And External Devices

Posted on:2016-12-19Degree:MasterType:Thesis
Country:ChinaCandidate:J W ChenFull Text:PDF
GTID:2348330542475887Subject:Engineering
Abstract/Summary:PDF Full Text Request
Whether it is C/S architecture application or with the development of Web technology and the arrival of the B/S architecture application,more or less in the actual development process requires access to peripherals,the original C/S mode due to the presence of the client makes accessing external set up much easier,simply connect peripherals to at the client.For the emerging Web applications,the client is usually a browser,but the browser's limited competence in general can not directly access the hardware need to use a third-party plug-ins to solve,it will bring a lot of security risks,and the user installs trouble not easy to promote.So,how to solve the browser to access a hardware problem,or in other ways to solve the problem of peripheral access Web applications become the current mainstream B/S application development trials and challenges.In this paper,Java Web application development peripherals adaptation done in-depth research and analysis and design of concrete structures,and program implementation methods.Program structure is divided into three modules: program library,remote data transmission and interface function calls.Where libraries are key peripherals adaptation program,the establishment of inter-related entity classes by studying the function call parameters required data and table structure formed entity classes,final data persisted to the database,the entire program library management in line with MVC structure.In addition,remote data transmission system is the core of the program,it needs to break through the original machine and peripheral connection 1-to-1 so that the machine and the peripherals do not need to be directly connected to the same network only,and also supports N-to-N connection.In order to guarantee the achievement of purpose,design data transmission scheme based on Apache MINA framework and TCP protocols,and in the framework of choice for MINA and Netty detailed performance tests.The ultimate goal of the program is to extract data adaptation program database and follow the procedure given DLL function call,so this project is to study and design for the last DLL function call,in order to be able to easily access the Java C/C ++ function,this article The method uses a DLL function call JNative based and implemented in a practical example of the module function.Through the research and design of the above three modules,finally each module will integrate together to form a complete adaptation programs and peripherals directly connected with the traditional way to do the analysis and comparison experiments,summed up in the actual design of the program to meet the the requirements of the subject,and innovative solution to the current Web application and peripheral access the existing problems.
Keywords/Search Tags:Java Web, Devices Adapter, Apache MINA, JNative, DLL
PDF Full Text Request
Related items