The vCAC REST API is odata based (A way to represent the DB schema through an XML based web service). I do not know where to find java examples to interface with it directly.
An easier alternative is to use vCO + the vCAC plug-in. We have customers who implement automation in vCAC as workflows from vCO (where the language is javaScript) and call vCO REST API from java.