Java 7 adds a new exception class called ReflectiveOperationException. The Javadoc documentation describes this class as a “Common superclass of exceptions thrown by reflective operations in core ...
The procedure is similar to using Reflection in Java. To call functions, you need to create a MethodHandle, which requires the Linker class. Additionally, you need to load the shared library.
I write web based systems for a huge company. My current project involves reading from a (denormalized) table and putting column values in a java object. Those objects are then added to a collection.