#1 solutionFeature flags for Java

Speed up your Java development and ensure safer releases using feature flags. With Tggl, you can deploy anytime and roll out features when you choose.

Java logo
+
Tggl logo

Trusted by

Swan logoSellsy logoRise up logoStoik logoYuno logoSlowy logoAlgoan logoEquify logoGoelo logo

Feature flags in Java

With Tggl, you can quickly adopt best practices and implement feature flags in your Java app with minimal code and a single API call.

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.Scanner;
 
class Main {
 
  public static void main(String[] args) throws IOException {
    URL url = new URL("https://api.tggl.io/flags");
    HttpURLConnection httpConn = (HttpURLConnection) url.openConnection();
    httpConn.setRequestMethod("POST");
 
    httpConn.setRequestProperty("Content-Type", "application/json");
    httpConn.setRequestProperty("x-tggl-api-key", "API_KEY");
 
    httpConn.setDoOutput(true);
    OutputStreamWriter writer = new OutputStreamWriter(httpConn.getOutputStream());
    writer.write("{\"userId\":\"foo\",\"email\":\"foo@gmail.com\"}");
    writer.flush();
    writer.close();
    httpConn.getOutputStream().close();
 
    InputStream responseStream = httpConn.getResponseCode() / 100 == 2
      ? httpConn.getInputStream()
      : httpConn.getErrorStream();
    Scanner s = new Scanner(responseStream).useDelimiter("\\A");
    String response = s.hasNext() ? s.next() : "";
    System.out.println(response);
  }
}

API documentation

Best in class UIEasy to use interface, even for non-technical users

Empower product and marketing teams to experiment within safe boundaries set by your engineering team.

Your app is instantly updated when a flag is updated, no need to write code and deploy the new version.

Feature flag conditions based on plan type

PerformanceAPI or local flag evaluation

API flags evaluation

A single API call to evaluate all flags

Tggl lets you evaluate all flags in a single round trip to our servers using our robust and highly performant API.

You can also evaluates thousands of users at once by batching all your calls in a single HTTP request.

Read the documentation
Local flags evaluation

Local flags evaluation on your backend

Evaluate millions of flags a second locally without making a single API call. You data never sees our servers and you can evaluate flags a millisecond.

As resilient as it can be, if the Tggl API ever goes down, you can still evaluate flags locally based on the last successful sync.

Read the documentation

What our clients have to say about us

quote left
At Yuno, we were using Amplitude for product analytics and needed a tool to conduct A/B tests. We were able to integrate Tggl extremely fast and could get our first results in days. As a product manager, Tggl had a great impact on the way we work with the tech team.
quote right
Gautier Schaffter profile pictureGautier Schaffter, Senior Product Manager @ Yuno

We value privacy and security

GRPR compliant

GDPR compliant

Tggl's robust data handling practices ensure GDPR compliance, safeguarding user privacy and data security.

Data stored in EU

Data stored in EU

Tggl securely stores data within the European Union, adhering to stringent data protection standards and regulations.

Your data dont reach our servers

Your data never reaches our servers

Use the open source Tggl proxy on your own infrastructure to ensure that your data never leaves your servers.

Two-factors authentification

Two-factor authentication

Enable two-factor authentication (2FA) to greatly improve your security posture on Tggl!

Custom roles

Custom roles

Assign granular access permissions to ensure the right people have the right access.

Feature flags history

Flag history

Precisely track what changes were made, who made them, and easily rollback to a previous configuration.

Start experimenting with feature flags in Java

You can try out Tggl at no cost and see immediate results. The platform is equipped with thorough documentation that simplifies the setup process. Its well-organized resources ensure that you can integrate Tggl smoothly and effectively into your development workflow.

Get startedNo credit-card required
Get started video preview

Compare with other solutions

If you're looking for a thorough analysis of feature flag tools for Java, our comparison guide has you covered. It delves into the features, ease of use, and pricing of various options, offering valuable insights to help you choose the right tool for your project.