GitHub repository: Azure-Samples/active-directory-java-graphapi-web
Description: A java web application that shows how to query the Azure AD Graph API including authentication, submitting REST requests & parsing JSON for read and write operations.