File Structure Hierarchy - Java SDK

File Structure Hierarchy - Java SDK

In your Java IDE setup, create and arrange the packages containing resource files, properties files, and required jars (ZCRMSDK.jar) as displayed in the image. The numbered items shown in the image are the files to be created in a step wise manner.

                               
  1. ZCRMSDK.jar - downloaded from SDK and inside the referenced libraries.

  2. Configuration related property files are to be created and added into the resources package.

  3. oauthtokens.properties file is added under a package path_to_tokens to store the token information.

  4. Create a package com.zoho.sdk.oauth_configuration and add a file initOauth.java that contains java code to generate access tokens and refresh tokens.

  5. Create the required java source files under a package com.zoho.sdk.api.record.

    • Related Articles

    • Class Hierarchy - Java SDK

      All Zoho CRM entities are modelled as classes having members and methods applicable to that particular entity. ZCRMRestClient is the base class of the SDK. This class has, methods to get instances of various other Zoho CRM entities. The class ...
    • Java SDK - Overview

      Java SDK offers a way to create client java applications that can be integrated with Zoho CRM. This SDK makes the access and use of necessary CRM APIs with ease. In other words, it serves as a wrapper for the REST APIs, making it easier to use the ...
    • Configuration - Java SDK

      Setting up the configuration is a system engineering process, for establishing and maintaining the consistency of the application's performance, functional and physical attributes with its requirements, design and operational information throughout ...
    • Persistence - Java SDK

      Persistent classes in an application implement the entities of the business problem. In Java SDK, two default persistence classes with their implementations are provided. On the other hand, if a developer wants his specific implementation, he can ...
    • Initialization - Java SDK

      Now the app is ready to be initialized after defining OAuth configuration file and OAuth persistence handler class for your app. Generating grant tokens For a Single User The developer console has an option to generate grant token for a user ...