Java integration for Beanstream API