jni4net 0.8.5
.NET and Java bridge
jni4net is built to be an Open Source, object oriented, bi-directional and fast bridge between Java and .NET.
Now you can use this tool to improve your development process.
NOTE: Additional information can be found here.
Intraprocess:
· it means that both VMs are in same process. Any call uses same thread and same stack for both environments. It’s relatively fast.
Proxies:
· we use proxies which look like and behave like the real/original object. Marshaled by reference except for primitive types and arrays.
Garbage collected:
· if you don’t create cycle between VMs heaps, the proxies and instances are collected and released properly.
Proxygen:
· tool to wrap your own library. Works with reflection, so you need just .jar or .dll, and proxygen config file. You could wrap most CLR or JVM classes.
Core:
· core classes of JDK and .NET framework are already included in jni4net. Using that for reflection and invocation across the boundary is possible.
Samples:
· are included with the binaries.
Troubleshooting:
· use knowledge base or ask people
Requirements:
· Java
· Microsoft .Net Framework 2.0 or higher
What’s New in This Release:
· fixed – support for indexer properties
· fixed – Change of current directory during init may disrupt other code running in parallel
· fixed – DirectByteBuffer doesn’t work with Java 7
· fixed – Potential field name clash due to increasing numbering strategy of field names