Java Integration Example