BOW java wrappers