Advanced

Creating a cross-language application

Ingemansson, Rickard and Skog, David (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:
author
Ingemansson, Rickard and Skog, David
organization
year
type
M2 - Bachelor Degree
subject
keywords
java, jni, jna, integration, driver
language
English
id
2058268
alternative location
http://portal.ch.lu.se/Campus.NET/Services/Publication/Export.aspx?id=1912&type=doc
date added to LUP
2011-07-27
date last changed
2012-06-28 11:18:55
@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},
  keyword      = {java,jni,jna,integration,driver},
  language     = {eng},
  note         = {Student Paper},
  title        = {Creating a cross-language application},
  year         = {2011},
}