Creating a cross-language application
(2011)Computer Science and Engineering (BSc)
- 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... (More)
- 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. (Less)
Please use this url to cite or link to this publication:
http://lup.lub.lu.se/student-papers/record/2058268
- author
- Ingemansson, Rickard and Skog, David
- organization
- year
- 2011
- type
- M2 - Bachelor Degree
- subject
- keywords
- java, jni, jna, integration, driver
- language
- English
- id
- 2058268
- date added to LUP
- 2011-07-27 00:00:00
- date last changed
- 2018-10-18 10:17:00
@misc{2058268, 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.}}, author = {{Ingemansson, Rickard and Skog, David}}, language = {{eng}}, note = {{Student Paper}}, title = {{Creating a cross-language application}}, year = {{2011}}, }