connect bonita bpm to a java application
There are multiple ways, through REST and through the Engine API. Depends on what you want/need.
you can read the documentation on REST here: http://documentation.bonitasoft.com/?page=_rest-api
and the Engine API here:http://documentation.bonitasoft.com/?page=_engine-api
PS: As this reply answers your question, please mark as resolved.