The Java Native Interface: Programmer's Guide and Specification (The Java Series)

3,2 valoración promedio
( 15 valoraciones por Goodreads )
 
9780201325775: The Java Native Interface: Programmer's Guide and Specification (The Java Series)

This book helps Java developers overcome one of the greatest programming challenges today -- how to achieve and maintain smooth integration of Java technology with the existing infrastructure. Java Native Interface (JNI) technology is the programming interface that enables Java technology programmers to leverage legacy code written in other languages, such as C and C++. (Java technology and C/C++ are projected to coexist for many years to come.) Based on the extremely popular JNI tutorial on Sun's website, Java Native Interface serves as a tutorial, programming guide, and reference for effectively using JNI technology. In addition, it offers useful tips on wags to avoid common pitfalls, and includes the complete official specification JNI.

"Sinopsis" puede pertenecer a otra edición de este libro.

Review:

Written for the experienced Java developer, The Java Native Interface documents the latest in native code programming for the Java platform using the Java Native Interface (JNI) with C/C++. Author Sheng Liang built the book around "dos and don'ts," even specifying within the introduction when you should and when you should not use JNI. Though sometimes densely written, this title certainly conveys a good deal of technical information on using native code with Java.

After a simple JNI "Hello World" code example, this book explores multiple aspects of the JNI API, starting with the use of Java strings and arrays within native code. Liang follows by transitioning into calling Java members and methods in C/C++. Here the author presents caching strategies for improving the performance of native code that interacts with or executes Java programs, including a discussion of local and global references that incorporates global weak references in Java 2.

The book also looks at handling exceptions within C/C++ code, as well as tips for working with Java threads. The author shows how to simplify access to C/C++ code through shared stubs and how to use peer classes to encapsulate native code from within Java. A section on common traps and pitfalls lists some common pitfalls to avoid when working with the JNI. After presenting the JNI specification, the author provides the most immediately useful text in the book--over 100 pages of reference material listing JNI data types and methods.

As a reference and programming guide, The Java Native Interface provides concise and timely technical details on getting Java and C/C++ code to coexist within your projects. --Richard Dragan

From the Back Cover:

The Java Native Interface (JNI) enables the integration of code written in the Java programming language with code written in other languages such as C and C++. It allows programmers to take full advantage of the Java platform without having to abandon their investment in legacy code.

This book is the definitive resource and a comprehensive guide to working with the JNI. Entirely up-to-date, the book offers a tutorial, a detailed description of JNI features and programming techniques, JNI design justifications, and the official specification for all JNI types and functions.

You will find coverage of important topics such as:

  • Writing native methods
  • Passing data types between the Java language and native programming languages
  • Embedding a Java virtual machine implementation in native applications
  • Leveraging legacy native libraries
  • Improving the efficiency and reliability of your code

An entire chapter is devoted to avoiding common traps and pitfalls. The book uses numerous examples to illustrate programming techniques that have proven to be effective.



0201325772B04062001

"Sobre este título" puede pertenecer a otra edición de este libro.

Los mejores resultados en AbeBooks

1.

Sheng Liang
Editorial: Addison-Wesley Professional (1999)
ISBN 10: 0201325772 ISBN 13: 9780201325775
Nuevos Paperback Primera edición Cantidad: 1
Librería
Irish Booksellers
(Rumford, ME, Estados Unidos de America)
Valoración
[?]

Descripción Addison-Wesley Professional, 1999. Paperback. Estado de conservación: New. book. Nº de ref. de la librería M0201325772

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 28,78
Convertir moneda

Añadir al carrito

Gastos de envío: GRATIS
A Estados Unidos de America
Destinos, gastos y plazos de envío

2.

Liang, Sheng
Editorial: Prentice Hall
ISBN 10: 0201325772 ISBN 13: 9780201325775
Nuevos Cantidad: > 20
Librería
INDOO
(Avenel, NJ, Estados Unidos de America)
Valoración
[?]

Descripción Prentice Hall. Estado de conservación: New. Brand New. Nº de ref. de la librería 0201325772

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 30,33
Convertir moneda

Añadir al carrito

Gastos de envío: EUR 2,97
A Estados Unidos de America
Destinos, gastos y plazos de envío

3.

Sheng Liang
Editorial: Addison-Wesley Professional (1999)
ISBN 10: 0201325772 ISBN 13: 9780201325775
Nuevos Paperback Cantidad: 1
Librería
Ergodebooks
(RICHMOND, TX, Estados Unidos de America)
Valoración
[?]

Descripción Addison-Wesley Professional, 1999. Paperback. Estado de conservación: New. 1. Nº de ref. de la librería DADAX0201325772

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 32,94
Convertir moneda

Añadir al carrito

Gastos de envío: EUR 3,39
A Estados Unidos de America
Destinos, gastos y plazos de envío

4.

Liang, Sheng
Editorial: Addison-Wesley Professional (1999)
ISBN 10: 0201325772 ISBN 13: 9780201325775
Nuevos Paperback Cantidad: 2
Librería
Murray Media
(North Miami Beach, FL, Estados Unidos de America)
Valoración
[?]

Descripción Addison-Wesley Professional, 1999. Paperback. Estado de conservación: New. Never used!. Nº de ref. de la librería P110201325772

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 43,77
Convertir moneda

Añadir al carrito

Gastos de envío: EUR 1,69
A Estados Unidos de America
Destinos, gastos y plazos de envío

5.

Sheng Liang
Editorial: Addison-Wesley (1999)
ISBN 10: 0201325772 ISBN 13: 9780201325775
Nuevos Paperback Cantidad: 1
Librería
Revaluation Books
(Exeter, Reino Unido)
Valoración
[?]

Descripción Addison-Wesley, 1999. Paperback. Estado de conservación: Brand New. 1st edition. 320 pages. 9.25x7.50x0.50 inches. In Stock. Nº de ref. de la librería 0201325772

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 47,73
Convertir moneda

Añadir al carrito

Gastos de envío: EUR 6,72
De Reino Unido a Estados Unidos de America
Destinos, gastos y plazos de envío

6.

Sheng Liang
Editorial: Addison-Wesley Professional (1999)
ISBN 10: 0201325772 ISBN 13: 9780201325775
Nuevos Tapa blanda Primera edición Cantidad: > 20
Librería
Palexbooks
(Sanford, NC, Estados Unidos de America)
Valoración
[?]

Descripción Addison-Wesley Professional, 1999. Estado de conservación: New. Brand new! Please provide a physical shipping address. Nº de ref. de la librería 9780201325775

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 54,00
Convertir moneda

Añadir al carrito

Gastos de envío: EUR 2,55
A Estados Unidos de America
Destinos, gastos y plazos de envío