A (JDK 1.6) tool to generate C++ "managed peers" for type-safe calling from C++ into Java. The base C++ library and Java annotations are available under the MIT license from the JNIManagedPeerBase repository.