Implemented a basic binding framework - required lots of Java glue code