Kaba: better java handler