Evaluating the Java Native Interface (JNI): Data Types and Strings

This article describes how the java native interface (JNI) is a powerful feature of the java platform that started to draw attention in the latter years as an efficient programming framework for building and delivering innovative technological applications based on disruptive technologies such as mo...

Full description

Saved in:
Bibliographic Details
Published inInternational journal of distributed systems and technologies Vol. 9; no. 2; pp. 27 - 38
Main Authors Sotiriadis, Stelios, Omosebi, Oladotun, Ayapbergenova, Assem, Saparkhojayev, Nurbek P
Format Journal Article
LanguageEnglish
Published Hershey IGI Global 01.04.2018
Subjects
Online AccessGet full text
ISSN1947-3532
1947-3540
DOI10.4018/IJDST.2018040103

Cover

Abstract This article describes how the java native interface (JNI) is a powerful feature of the java platform that started to draw attention in the latter years as an efficient programming framework for building and delivering innovative technological applications based on disruptive technologies such as mobile, Internet of Things and embedded systems. Developers use it to incorporate native code written in programming languages such as C, C++, python etc., into java. JNI is particularly useful when java applications need to access existing native libraries or code blocks written in other languages to increase performance, avoid recoding and expand interoperability between programming languages for processes that reside in the same process. This article aims to explore JNI features and to discover fundamental operations of the Java programming language, such as arrays, objects, classes, threads and exception handling, and to illustrate these by using various algorithms and code samples.
AbstractList This article describes how the java native interface (JNI) is a powerful feature of the java platform that started to draw attention in the latter years as an efficient programming framework for building and delivering innovative technological applications based on disruptive technologies such as mobile, Internet of Things and embedded systems. Developers use it to incorporate native code written in programming languages such as C, C++, python etc., into java. JNI is particularly useful when java applications need to access existing native libraries or code blocks written in other languages to increase performance, avoid recoding and expand interoperability between programming languages for processes that reside in the same process. This article aims to explore JNI features and to discover fundamental operations of the Java programming language, such as arrays, objects, classes, threads and exception handling, and to illustrate these by using various algorithms and code samples.
Audience Academic
Author Ayapbergenova, Assem
Sotiriadis, Stelios
Saparkhojayev, Nurbek P
Omosebi, Oladotun
AuthorAffiliation The Edward Rogers Sr. Department of Electrical and Computer Engineering, University of Toronto, Toronto, Canada
Department of Computer Science, Edge Hill University, Lancashire, UK
Department of Information Technologies, Satbayev University, Almaty, Kazakhstan
AuthorAffiliation_xml – name: Department of Computer Science, Edge Hill University, Lancashire, UK
– name: Department of Information Technologies, Satbayev University, Almaty, Kazakhstan
– name: The Edward Rogers Sr. Department of Electrical and Computer Engineering, University of Toronto, Toronto, Canada
Author_xml – sequence: 1
  givenname: Stelios
  surname: Sotiriadis
  fullname: Sotiriadis, Stelios
  organization: The Edward Rogers Sr. Department of Electrical and Computer Engineering, University of Toronto, Toronto, Canada
– sequence: 2
  givenname: Oladotun
  surname: Omosebi
  fullname: Omosebi, Oladotun
  organization: Department of Computer Science, Edge Hill University, Lancashire, UK
– sequence: 3
  givenname: Assem
  surname: Ayapbergenova
  fullname: Ayapbergenova, Assem
  organization: Department of Information Technologies, Satbayev University, Almaty, Kazakhstan
– sequence: 4
  givenname: Nurbek
  surname: Saparkhojayev
  middlename: P
  fullname: Saparkhojayev, Nurbek P
  organization: Department of Information Technologies, Satbayev University, Almaty, Kazakhstan
BookMark eNp9kc9LwzAUx4NMUKd3jwEvCm6mTZqm3uZ-aMfQg_Mc0iaplZnOJB3435tZcSBqDsl78Pm-F77fI9AzjVEAnEZoSFDErvL55HE5jEOJQo_wHjiMMpIOcEJQ77vG8QE4ce4FhZOQNKXZIbiZbsSqFb42FfTPCs7FRsD70G8UzI1XVotSwfP5fX5xDSfCC7h8XysHhZHw0dsgc8dgX4uVUydfbx88zabL8d1g8XCbj0eLQUkQ8QORJVTTRBGUFBjLQiupklIqSqOCKs0QTllEMSsSRjVJZFxSKQMuWFwyqUvcB2fd3LVt3lrlPH9pWmvCSh5nOMpQhikK1GVHVWKleNG62igXLldXz95VonWOj1KKEGYRYQFHHV7axjmrNF_b-lXYdx4hvvWWf3rLd94GCf0hKWsfHGuMt6Je_Sc874R1Ve_-_hPja6kDOvsF7XLiISe-zYl3OfHc_LUywx-poqF-
CitedBy_id crossref_primary_10_1016_j_softx_2023_101445
Cites_doi 10.1145/332100.332105
10.1007/978-1-4302-0816-7
10.1109/TrustCom.2011.162 10.1109/TrustCom.2011.162
10.1145/2043910.2043921
10.1007/978-3-540-78731-0_6
10.1145/2535505
10.1145/592849.592857
10.4156/jcit.vol7.issue12.35
10.12785/amis/071L13
10.1145/376656.376823
10.1145/1866307.1866331
ContentType Journal Article
Copyright COPYRIGHT 2018 IGI Global
Copyright © 2018, IGI Global. Copying or distributing in print or electronic forms without written permission of IGI Global is prohibited.
Copyright_xml – notice: COPYRIGHT 2018 IGI Global
– notice: Copyright © 2018, IGI Global. Copying or distributing in print or electronic forms without written permission of IGI Global is prohibited.
DBID AAYXX
CITATION
N95
7SC
8FD
8FE
8FG
ABJCF
AFKRA
ARAPS
AZQEC
BENPR
BGLVJ
CCPQU
DWQXO
GNUQQ
HCIFZ
JQ2
K7-
L6V
L7M
L~C
L~D
M7S
P62
PHGZM
PHGZT
PKEHL
PQEST
PQGLB
PQQKQ
PQUKI
PRINS
PTHSS
DOI 10.4018/IJDST.2018040103
DatabaseName CrossRef
Gale Business: Insights
Computer and Information Systems Abstracts
Technology Research Database
ProQuest SciTech Collection
ProQuest Technology Collection
Materials Science & Engineering Collection
ProQuest Central UK/Ireland
Advanced Technologies & Computer Science Collection
ProQuest Central Essentials - QC
ProQuest Central
ProQuest Technology Collection
ProQuest One
ProQuest Central
ProQuest Central Student
SciTech Premium Collection
ProQuest Computer Science Collection
Computer Science Database
ProQuest Engineering Collection
Advanced Technologies Database with Aerospace
Computer and Information Systems Abstracts – Academic
Computer and Information Systems Abstracts Professional
Engineering Database
ProQuest Advanced Technologies & Aerospace Collection
Proquest Central Premium
ProQuest One Academic (New)
ProQuest One Academic Middle East (New)
ProQuest One Academic Eastern Edition (DO NOT USE)
ProQuest One Applied & Life Sciences
ProQuest One Academic
ProQuest One Academic UKI Edition
ProQuest Central China
Engineering collection
DatabaseTitle CrossRef
Computer Science Database
ProQuest Central Student
Technology Collection
Technology Research Database
Computer and Information Systems Abstracts – Academic
ProQuest One Academic Middle East (New)
ProQuest Advanced Technologies & Aerospace Collection
ProQuest Central Essentials
ProQuest Computer Science Collection
Computer and Information Systems Abstracts
SciTech Premium Collection
ProQuest One Community College
ProQuest Central China
ProQuest Central
ProQuest One Applied & Life Sciences
ProQuest Engineering Collection
ProQuest Central Korea
ProQuest Central (New)
Advanced Technologies Database with Aerospace
Engineering Collection
Advanced Technologies & Aerospace Collection
Engineering Database
ProQuest One Academic Eastern Edition
ProQuest Technology Collection
ProQuest SciTech Collection
Computer and Information Systems Abstracts Professional
ProQuest One Academic UKI Edition
Materials Science & Engineering Collection
ProQuest One Academic
ProQuest One Academic (New)
DatabaseTitleList Computer Science Database
CrossRef

Database_xml – sequence: 1
  dbid: 8FG
  name: ProQuest Technology Collection
  url: https://search.proquest.com/technologycollection1
  sourceTypes: Aggregation Database
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISSN 1947-3540
EndPage 38
ExternalDocumentID A760038148
10_4018_IJDST_2018040103
uating_the_Java_Native_In10_4018_IJDST_20180401039
GroupedDBID 0R
ABEPT
ADEKF
ALMA_UNASSIGNED_HOLDINGS
COVLG
EBS
EJD
H13
HZ
JRD
MV1
NEEBM
O9-
RIF
0R~
4.4
AAYVP
AAYXX
ABJCF
ACOJC
ADMLS
AFKRA
ARAPS
BAAKF
BENPR
BGLVJ
BYHXH
CBWLS
CCPQU
CDTDJ
CIGCI
CITATION
CKMBR
CNQXE
CTSEY
HCIFZ
HZ~
IAO
ICD
ITC
K7-
M7S
N95
PHGZM
PHGZT
PQGLB
PTHSS
PUEGO
7SC
8FD
8FE
8FG
AZQEC
DWQXO
GNUQQ
JQ2
L6V
L7M
L~C
L~D
P62
PKEHL
PQEST
PQQKQ
PQUKI
PRINS
ID FETCH-LOGICAL-c404t-a956f65e405b33dbfede5cde661b6ef803781638b586f45d2c6dd5e4a82c8dfc3
IEDL.DBID BENPR
ISSN 1947-3532
IngestDate Fri Jul 25 10:30:05 EDT 2025
Fri May 23 01:16:00 EDT 2025
Thu Apr 24 23:04:00 EDT 2025
Wed Oct 01 04:43:20 EDT 2025
Thu May 09 18:42:17 EDT 2019
Tue Jan 05 23:27:24 EST 2021
IsPeerReviewed true
IsScholarly true
Issue 2
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-c404t-a956f65e405b33dbfede5cde661b6ef803781638b586f45d2c6dd5e4a82c8dfc3
Notes ObjectType-Article-1
SourceType-Scholarly Journals-1
ObjectType-Feature-2
content type line 14
PQID 2931909360
PQPubID 2045853
PageCount 12
ParticipantIDs proquest_journals_2931909360
crossref_primary_10_4018_IJDST_2018040103
gale_businessinsightsgauss_A760038148
crossref_citationtrail_10_4018_IJDST_2018040103
igi_journals_uating_the_Java_Native_In10_4018_IJDST_20180401039
ProviderPackageCode CITATION
AAYXX
PublicationCentury 2000
PublicationDate 2018-04-01
PublicationDateYYYYMMDD 2018-04-01
PublicationDate_xml – month: 04
  year: 2018
  text: 2018-04-01
  day: 01
PublicationDecade 2010
PublicationPlace Hershey
PublicationPlace_xml – name: Hershey
PublicationTitle International journal of distributed systems and technologies
PublicationYear 2018
Publisher IGI Global
Publisher_xml – name: IGI Global
References IJDST.2018040103-13
IJDST.2018040103-14
S.Liang (IJDST.2018040103-9) 1999
IJDST.2018040103-15
IJDST.2018040103-16
IJDST.2018040103-17
IJDST.2018040103-18
IJDST.2018040103-0
IJDST.2018040103-1
IJDST.2018040103-20
IJDST.2018040103-3
IJDST.2018040103-10
IJDST.2018040103-4
IJDST.2018040103-11
H. N.Mok (IJDST.2018040103-12) 2003
APISun Invocation (IJDST.2018040103-19) 2010
IJDST.2018040103-6
P.Chandrian (IJDST.2018040103-2) 2011). Efficient java native interface for Android based mobile devices [Thesis]. Arizona State University. Retrieved from
IJDST.2018040103-8
(IJDST.2018040103-7) 2014
R.Gordon (IJDST.2018040103-5) 1998
References_xml – year: 2014)
  ident: IJDST.2018040103-7
– year: 2010
  ident: IJDST.2018040103-19
– ident: IJDST.2018040103-6
  doi: 10.1145/332100.332105
– year: 1998
  ident: IJDST.2018040103-5
  publication-title: Essential Jni: Java Native Interface
– ident: IJDST.2018040103-16
  doi: 10.1007/978-1-4302-0816-7
– year: 2003
  ident: IJDST.2018040103-12
  publication-title: From Java to C#: A Java Developer’s Guide
– ident: IJDST.2018040103-8
  doi: 10.1109/TrustCom.2011.162 10.1109/TrustCom.2011.162
– ident: IJDST.2018040103-13
  doi: 10.1145/2043910.2043921
– ident: IJDST.2018040103-14
  doi: 10.1007/978-3-540-78731-0_6
– year: 1999
  ident: IJDST.2018040103-9
  publication-title: Java Native Interface: Programmer’s Guide and Reference
– ident: IJDST.2018040103-4
– year: 2011). Efficient java native interface for Android based mobile devices [Thesis]. Arizona State University. Retrieved from
  ident: IJDST.2018040103-2
– ident: IJDST.2018040103-11
– ident: IJDST.2018040103-18
  doi: 10.1145/2535505
– ident: IJDST.2018040103-10
– ident: IJDST.2018040103-0
– ident: IJDST.2018040103-17
  doi: 10.1145/592849.592857
– ident: IJDST.2018040103-3
  doi: 10.4156/jcit.vol7.issue12.35
– ident: IJDST.2018040103-20
  doi: 10.12785/amis/071L13
– ident: IJDST.2018040103-1
  doi: 10.1145/376656.376823
– ident: IJDST.2018040103-15
  doi: 10.1145/1866307.1866331
SSID ssj0000547769
Score 2.063876
Snippet This article describes how the java native interface (JNI) is a powerful feature of the java platform that started to draw attention in the latter years as an...
SourceID proquest
gale
crossref
igi
SourceType Aggregation Database
Enrichment Source
Index Database
Publisher
StartPage 27
SubjectTerms Algorithms
C plus plus
Disruptive innovation
Embedded systems
Evaluation
Exception handling
Interfaces
Internet of Things
Interoperability
Java
Java (Computer program language)
Libraries
Methods
Performance evaluation
Programming languages
Python
Service oriented architecture
Technology application
Title Evaluating the Java Native Interface (JNI): Data Types and Strings
URI http://services.igi-global.com/resolvedoi/resolve.aspx?doi=10.4018/IJDST.2018040103
https://www.proquest.com/docview/2931909360
Volume 9
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
journalDatabaseRights – providerCode: PRVEBS
  databaseName: Inspec with Full Text
  customDbUrl:
  eissn: 1947-3540
  dateEnd: 99991231
  omitProxy: false
  ssIdentifier: ssj0000547769
  issn: 1947-3532
  databaseCode: ADMLS
  dateStart: 20100101
  isFulltext: true
  titleUrlDefault: https://www.ebsco.com/products/research-databases/inspec-full-text
  providerName: EBSCOhost
– providerCode: PRVPQU
  databaseName: ProQuest Central
  customDbUrl: http://www.proquest.com/pqcentral?accountid=15518
  eissn: 1947-3540
  dateEnd: 20221231
  omitProxy: true
  ssIdentifier: ssj0000547769
  issn: 1947-3532
  databaseCode: BENPR
  dateStart: 20100101
  isFulltext: true
  titleUrlDefault: https://www.proquest.com/central
  providerName: ProQuest
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwfV1ba9swFD406ctedh_z1hUNNlgfTBxLtpXBKO2arAnMjLWFvglZl1Aobja7-_07x5YbRllf_CJZNp-kc5XOB_DB-8Rg0yzmmfZEYZbFqGeqWAife1RPxmV0Ufh7mZ9eiNVldrkD5XAXho5VDjKxE9T2xlCMfIJqCXXXjOfJ4eZXTKxRlF0dKDR0oFawX7oSYyPYTaky1hh2j-flj593URc0UIqi47lD5x13V8bTPneJboacLFcnZ-d03Evi0p4OPFpBVwWJPbpaX92T250yWjyFx8GKZEf9tD-DHVc_hycDQwMLG_YFHM9DMe96zdDSYyv9R7Oyq_XNulig18axT6tyefCZnehWM_JLG6Zry85aCvk1L-FiMT__ehoH1oTYiES0sUaPx-eZQ0us4txW3lmXGetQEVe58zLhhSQjrMpk7kVmU5Nbi921TI203vBXMK5vavca2HSqZ8b5xAvOhcfmqqgS73Kb4KfSwkYwGfBRJpQUJ2aLa4WuBSGqOkTVFtEIDu7e2PTlNB7o-5EgV4GNEx8NxSuatb5tGnVEGUU0N4SM4D3OiQp7r7k3jtpYH8HhP3165BUirwh51SOvlvX_fmYWwd4w59thtovyzcPNb-ERjdUf-dmDcfv71r1Da6at9mEkF9_2w0L9C4gN7wE
linkProvider ProQuest
linkToHtml http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwtV1bT9swFD6C8rC97D4tjG2eNKTxEDWNndskhGAtagpE0ygSb57jS4U0hbKETftz-207ThyqCY03Xvpi120-5_g759g-H8AHYwKJTZlPI2GshFnkI8-UPmMmNkhPUkf2ovBJEU_P2Ow8Ol-DP_1dGHussl8T24VaXUqbIx8iLSF3ZTQO9pZXvlWNsrurvYSGcNIKarctMeYudhzp378whKt38zHO93YYHk7mn6e-UxnwJQtY4wuMEEwcafRcSkpVabTSkVQaiauMtUkDmqTWaSmjNDYsUqGMlcLuIg1lqoykOO46bDCKDzqAjYNJ8eXrTZYHHaIkaXX1RhlDa45o2O2VYliTDvPZ-HRuj5elaEqjXrfLcaNjiPWLxcUtnmjJ7_AJPHJeK9nvXrOnsKarZ_C4V4QgboF4DgcTVzy8WhD0LMlM_BSkaGuLkzb3aITU5OOsyHc-kbFoBLFxcE1EpchpY1OM9Qs4uxf8XsKguqz0KyCjkcikNoFhlDKDzWVSBkbHKsCfChPlwbDHh0tXwtwqaXznGMpYRHmLKF8h6sHOzTeWXfmOO_puW8i5U__Ej9rmR-qFuK5rvm93MNG9YakH73FOuLP1-tY4fKmMB3v_9OmQ54g8t8jzDnmeV__7M5kHW_2cr4ZZGcHm3c3v4MF0fnLMj_Pi6DU8tON2x422YND8uNZv0JNqyrfudSXw7b4t5C_qCyyU
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=Evaluating+the+Java+Native+Interface+%28JNI%29%3A+Data+Types+and+Strings&rft.jtitle=International+journal+of+distributed+systems+and+technologies&rft.au=Sotiriadis%2C+Stelios&rft.au=Omosebi%2C+Oladotun&rft.au=Ayapbergenova%2C+Assem&rft.au=Saparkhojayev%2C+Nurbek&rft.date=2018-04-01&rft.pub=IGI+Global&rft.issn=1947-3532&rft.eissn=1947-3540&rft.volume=9&rft.issue=2&rft.spage=27&rft.epage=38&rft_id=info:doi/10.4018%2FIJDST.2018040103
thumbnail_l http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=1947-3532&client=summon
thumbnail_m http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=1947-3532&client=summon
thumbnail_s http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=1947-3532&client=summon