*** title: How to Implement Feature Flags in Java slug: /guides/implement-feature-flags-in-java description: Guide for using Unleash feature flags keywords: 'implement, feature, flags, feature flags, unleash' 'og:site\_name': Unleash Documentation 'og:title': How to Implement Feature Flags in Java max-toc-depth: 3 ---------------- [Java](https://www.java.com/en/) is an object-oriented programming language often used for mobile development and large-scale enterprise applications. [Spring Boot](https://spring.io/projects/spring-boot) is a popular Java framework used to get apps up and running with minimal configuration. Leveraging feature flags allows developers to toggle new features on and off, whether you’re experimenting in your local environment, testing for QA purposes, or rolling out changes to users in production. With Unleash, an open-source feature flag service, you can use our tooling to implement feature flags into your application and release new features faster, strategically, and safely. But how can you do this in Java? In this tutorial, you will learn how to set up and use Java feature flags with Unleash. We will use the [SpringBoot Example app](https://github.com/jecklgamis/spring-boot-java-example) to log the status of a feature flag while your app is running. Watch the video tutorial and follow along with the code from this documentation.