How to call Foundry Integration Service & Object Service from a Java program?

Below doc contains steps to invoke services from java program

https://opensource.hcltechsw.com/volt-mx-docs/95/docs/documentation/Foundry/voltmx_foundry_user_guide/Content/Custom_Code_for_Invoking_Integration_from_pre-post-java.html