We have running SharePoint online application and Java API user need to fetch the data of list of SharePoint online. How can we access these data through the Java API?
I guess one option is using JSON where you can access lists and items with calls like
companyis your tenant name
ourSiteis your site collection (if not the root SC)
ourListis the list you're trying to get
If you don't fancy JSON you could always consume web services 'the old fashion way' described in Java Tip: Consuming SharePoint web services with a Java client