This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 95973

Summary: Integrate GlueGen project to ease JNI devel
Product: cnd Reporter: jadvocate <jadvocate>
Component: -- Other --Assignee: issues@cnd <issues>
Status: NEW ---    
Severity: blocker Keywords: NETFIX
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
URL: https://gluegen.dev.java.net
Issue Type: ENHANCEMENT Exception Reporter:

Description jadvocate 2007-02-19 21:41:12 UTC
https://gluegen.dev.java.net

GlueGen is a newish project on Java.net, which generates Java and C to wrap any
existing native library for which you have a .h file

It's been used to create the interface to OpenGL used by JOGL, which works great

If you've got an existing compiled DLL and the corresponding .h file, it will
generate code for a Java wrapper class, through which you have access to all the
DLL methods
C structs become generated Java classes, etc

This can really speed up the process of getting access to existing native
functionality, without oneself having to write the C/C++, create a DLL or
whatever, etc

This would be an easy win for NetBeans in simplifying at least one aspect of JNI
development