Creating a cross-language application

University essay from Lunds universitet/Högskoleingenjörsutbildning i datateknik

Abstract: This thesis is a report from a project where an application connecting Java and native code was made. The question answered by this report is how integration between Java and native code can be achieved. The application was made specifically for SAAB Training Systems who specialize in training simulations for military purposes. The application, which is called a driver was written partially in C++ and partially in Java code and was constructed using the JNI and JNA frameworks. The driver would on completion become a part of the WISE integration platform, a software suit made by SAAB Training Systems. The project was successful resulting in a functioning application and this report. The report will document the functionality and structure of the driver and also how JNI and JNA makes the implementation work. The experience of using JNI and JNA, both pitfalls and successes, are documented as well. Hopefully this can provide the reader with helpful information and aid any further development of the driver or any development integrating native code with Java.

  AT THIS PAGE YOU CAN DOWNLOAD THE WHOLE ESSAY. (follow the link to the next page)