integration with java