Creating Thriftly APIs from Java Applications


This section contains instructions for creating Thriftly APIs from Java applications. If you want to create an API from an application written in a different language, refer to that language’s respective topic:

After you’ve installed and licensed Thriftly Developer (using the instructions in the Installing and Licensing Thriftly Developer section), you can start examining and creating Thriftly APIs.

To create a Thriftly API, you first update your application to connect to the Thriftly Server. Then, you use Thriftly-related metadata to designate the services and functions you want to publish to the server as APIs.

To help you understand how building APIs using the Thriftly Developer toolset works, we’ll first examine a series of example APIs embedded within the sample Java application (called PropertyTracker) that came included in your Thriftly Developer install. Then, we’ll walk you through creating a couple basic APIs of your own within a new Java application.

See also

More of a visual learner? You might want to check out our quick video tutorial on creating APIs from Java applications before moving on.