Simple Java inter-op