Hi,
My name is Rahul and I work with Microsoft Technology. I work with Office 365 which includes working with REST API and I can provide a sample JAVA program working with SharePoint REST API ( A single API) let say getting available List with any SharePoint Web Applications.
You will require to provide the SharePoint account information so, I can integrate with my program.
Thanks,
Rahul