Forum Controls
Spotlight Features

The Rich Engineering Heritage Behind Dependency Injection

Andrew McVeigh takes us on a tour of the rich heritage behind dependency injection, what it represents, and tells us why its here to stay.

NetBeans 6: Matisse Updates

NetBeans 6 delivers great updates to the Matisse GUI builder. Spend a few minutes with Roman Strobl and get an expert briefing on what's new and what has changed.

Introduction to Groovy Part 3

In this, the third and final installation of Andres' Introduction to Groovy series, you learn about how Groovy handles variable numbers of arguments, named parameters, currying, and more about Groovy operators. Including, some new operators.

Easier Custom Components with Swing Fuse

Swing Fuse (actually just Fuse), is a framework designed to make it easier to create your own custom desktop components. In this article, Daniel Spiewak shows you how to get started and provides sample source code you can download.

Benchmark Analysis: Guice vs Spring

Willam Louth shows how he uses JXInsight Probes to investigate probable performance issues with code bases that he is not familiar with. He also highlights possible pitfalls in creating a benchmark, as well as in the analysis of results.
Replies: 1 - Pages: 1  
Threads: [ Previous | Next ]
  Click to reply to this thread Reply

JNIEasy v1.2, Java Native Objects, added Mac OS X x86 support

URL: Innowhere

At 12:23 PM on Jan 22, 2008, Jose Marķa Arranz Santamarķa wrote:

JNIEasy 1.2 , the Java Native Objects solution, a sophisticated full replacement of JNI using Java only and POJOs, introduces Mac OS X x86 support. Now 100% Java programs can access to native libraries on Windows, Linux and Mac OS X, virtually 100% of the computer market.

JNIEasy avoids the tedious task of bridging Java and C/C++ code with the complex and error-prone JNI with no C/C++ programming and using a Java friendly syntax. With JNIEasy a normal Java class (POJO), with fields and methods, is reflected as a normal C++ class or C structure or union and vice versa. A Java integer, String, array etc is seen as a native integer, string, and array.

JNIEasy is the most sophisticated solution to provide transparent native programming on Java, including multithread applications, concurrent and unlimited callbacks, no slow Java reflection and proxies, identification of Java object instance - native instance (native methods can return Java native objects), C++ support, a C inspired macro system, calls to Java methods from C/C++ without JNI.

Another changes introduced in this version:

* Support of Mac OS X 10.4 (Tiger) and upper
* Ant file is simplified and now true multiplatform, basePath property adjusting (/conf/conf.properties) no longer necessary
* Size of JNIEasy.dll and libJNIEasy.so drastically reduced.
* Added JNIEasy.getFeature/setFeature/hasFeature methods
* Programmatically location of the JNIEasy's license folder calling JNIEasy.setFeature(String,Object) with "jnieasy.license.dir" and the license folder path (before calling JNIEasy.load())
* Removed dependency from InnowhereUtil.jar and Xerces jars (xercesImpl.jar and xml-apis.jar), no longer necessary.
* Removed dependency from InnowhereException and InnowhereXMLException, JNIEasyException now inherits from RuntimeException
* Java methods wrapping native methods can now be declared as "native" (with no body)
* Added "params" attribute to XML declarations of methods and constructors to specify the selected method/constructor when no special native configuration is necessary for parameters. Updated examples to the new compact syntax when apropriated.
* Fixed bug: NativeTransaction.setSynchronization does nothing

LAMEOnJ is updated to the JNIEasy 1.2 now can access LAME on Linux and Mac OS X too.

What native APIs/libraries missing in Java do you need to access?
1 . At 9:34 PM on Jan 29, 2008, ABBEY wrote:
  Click to reply to this thread Reply

Re: JNIEasy v1.2, Java Native Objects, added Mac OS X x86 support

Nice news,I have used the JINEasy, it's great.
Thanks.
Java Forum

thread.rss_message