Home

Vonage Java Server SDK Sample

Vonage Java Server SDK Sample

Vonage Java Server SDK Sample

VoiceMessagesVerify Identity

1.1.2

Sina Madani

Java

Demo app built in SpringBoot to showcase the Java Server SDK.

This project is a an interactive demo application for the Vonage Java Server SDK, showcasing code snippets for some of the Vonage APIs supported by the SDK. It also serves as a reference implementation of a Java project deployed on Vonage Cloud Runtime. You can view the source code on GitHub.

Usage

  • Ensure you are signed into your Vonage developer account. If you do not have an account yet, you can create one here.
  • To view the code and edit the application, go to 'Get Code' and click 'Create a new development environment'.
  • To launch the application, go to 'Deploy Code' and click 'Deploy Instance'. Give your application a unique Instance name.
  • Assign a phone number to your application (you can buy one through the UI if necessary), which will be used for Voice valls.
  • Optionally, provide your phone number, which will be used as the default value in code snippets as the recipient.
  • Once deployed, you will see the initialization code for the client. The links will take you to interactive demos built using the Java SDK for various APIs.

Debugging

To see how it works under the hood, click on 'Get Code' and create a new development environment. You will then be able to play around with the project in Visual Studio Code. To run the debugger, open the terminal in the VS Code instance and run vcr debug. This will launch an instance of your app, printing out the URL in yellow. You can attach to it from the debugger in the editor using the provided launch.json configuration through via Debug tool window. Once attached, you can then click on the URL and interact with the application, place breakpoints in the code to inspect variables etc.

Created

03 July 2024

Updated

07 November 2024

Releases

4