Java sample implementation will come later!