In the ODM 8.10.x Rule Designer there is a wizard to generate the whole project for you.
Open an ODM workspace - the options are different depending on your workspace - but assuming you have a modern project using the Decision Engine and a Main rule project type. Select File > New > Other > Client Project for Decision Service > Java Project for RES on Java SE and follow the choices in the dialogs.
You will need to have created a J2SE Deployment config to the file system before you do this though. It generates a simple Java client with understandable code for you.
------------------------------
Andy Macdonald
------------------------------