Installation of Java SDK

Installation of Java SDK

The PageSense JAVA SDK empowers developers to integrate, conduct A/B testing, and personalise user experiences within JAVA applications. PageSense JAVA SDK offers a simple and reliable way to integrate FullStack A/B Testing into your JAVA-based applications. Acting as a lightweight wrapper around the PageSense REST APIs, this SDK enables backend services to trigger experiments, evaluate variations, and track user engagement and conversion metrics in real time.

Java SDK allows you to

  • Add A/B testing support to your Java application with minimal configuration.

  • Handles all communication with the PageSense server internally using secure REST API calls.

  • Programmatically retrieves all relevant project settings to ensure your application stays synchronised.

  • Captures and sends user interactions, engagements, and conversion details in real time.

  • Stores user attributes for use in audience targeting and report segmentation.

 

The SDK serves as a communication layer between your application and the PageSense to run FullStack A/B Test. Once configured, it can:

  • Fetch all active experiments associated with your project.

  • Determine the correct variation to serve for a user or session as part of the A/B test.

  • Track goal completions and other experiment-specific events.

  • Report all metrics back to PageSense for detailed analytics and decision-making. 

PageSense Java SDK is available as a downloadable JAR file that you can integrate into your application to run the A/B Test. Click on the link given below to download the same.


PageSense Java SDK requires the following library files to run successfully. Please add the following JAR files to the referenced libraries section of your project in order to run the PageSense Java SDK.

Junit-4.13.2.jar - https://mvnrepository.com/artifact/junit/junit/4.13.2

Hamcrest-core-1.3.jar - https://mvnrepository.com/artifact/org.hamcrest/hamcrest-core/1.3

json-20210307.jar - https://mvnrepository.com/artifact/org.json/json/20210307

log4j-1.2.17.jar - https://mvnrepository.com/artifact/log4j/log4j/1.2.17


We hope this documentation helps make the process easy for you. Please feel free to reach out to us anytime by dropping an email to support@zohopagesense.com if you need more explanation or have any questions.