Data processing: software development – installation – and managem – Software program development tool – Translation of code
Patent
1997-12-08
2000-05-23
Voeltz, Emauel Todd
Data processing: software development, installation, and managem
Software program development tool
Translation of code
709302, G06F 945
Patent
active
06066181&
ABSTRACT:
A Java native interface code generator is disclosed to facilitate mixed language programming, by making native code programmed in a native language accessible to Java application programs. A programmer generates a native interface definition for native code, preferably using a neutral Interface Definition Language (IDL) to describe native code components (functions, data structures, constants and other user-defined data types), for which native mappings are to be generated. The Java native interface code generator supports complex data types, including nested data structures and multi-dimensional arrays. The Java native interface code generator reads and parses the user-derived native interface definition and generates Java Classes, data conversion code stubs and related header files. The Java Classes consist of classes of native methods, as well as classes for complex data types, which are called from Java. Each native method is mapped to a function or procedure written in the native code, using the Java Native Interface (JNI). The data conversion code stubs (JNI code) convert and map the native data and functions between the native language and Java. The Java class generated for complex data types, such as structures and unions, extends another Java class, JStruct or JUnion, respectively. The JStruct and JUnion classes implement Java Serializable and Cloneable interfaces and provides the core functionality for all data structures and unions, respectively, mapped to Java objects. Each Java data structure and union "extends" the JStruct or JUnion class and thereby inherits the behavior and characteristics of the JStruct or JUnion class, including memory management features. The JStruct and JUnion classes preferably provide methods for converting between members of a native language data structure or union, as appropriate, and fields of a Java object, as well as additional memory management functionality.
REFERENCES:
patent: 5974256 (1999-10-01), Matthews et al.
"Coroutine for Java," downloaded from www.nevaobject.com/java/jcoro/jcoromain.html on Oct. 17, 1997.
"Java Native Interface Specification," JavaSoft, Sun Microsystems, Inc., of Mountain View, CA (May, 1997).
OMG Interface Definition Language, see Corba v2.1 Specification, Ch. 3, OMG IDL Syntax and Semantics (Objects Management Group Aug., 1997), downloaded from www.omg.org.
"Twin Peaks White Paper: Bringing Together C++ and Java," downloaded from www.ilog.com/html/about.sub.-- twinpeaks.sub.-- white.sub.-- paper.html (Mar. 26, 1996).
Ilog, "Twin Peaks White Paper: Bringing Together C+ + and Java," www.ilog.com/html/about.sub.-- twinpeaks.sub.-- white.sub.-- paper.html, Mar. 1996.
Tommy Thorn, "Programming Languages for Mobile Code," ACM Computing Surveys, Sep. 1997.
Analysis & Technology, Inc.
Dam Tuan Q.
Voeltz Emauel Todd
LandOfFree
Java native interface code generator does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Java native interface code generator, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Java native interface code generator will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-1834336