# \[AIAB-02] Optimize a Java-based application (Konakart) with JMeter

In this guide, you’ll learn how to optimize [Konakart](http://konakart.com), a real-world Java-based e-commerce application, by leveraging the JMeter performance testing tool and Prometheus monitoring tool.

#### **What you'll learn** <a href="#user-content-what-youll-learn" id="user-content-what-youll-learn"></a>

* How to optimize a real-world Java application with Akamas in a realistic performance environment
* How to integrate JMeter load testing tool with Akamas
* How to integrate the Prometheus monitoring tool with Akamas
* How to automate the configuration of the parameters in a containerized Java application
* How to conduct an optimization with performance constraints
* How to analyze and identify performance insights from study results

#### **What you'll need** <a href="#user-content-what-youll-need" id="user-content-what-youll-need"></a>

* An Akamas-in-a-box instance installed with a valid license - see the Akamas In a Box guide.
* The Konakart performance environment - see the Konakart setup guide.
* Familiarity with Akamas concepts. If you're new to Akamas, please review the Java quickstart guide.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akamas.io/quick-guides/quick-guides-akamas-in-a-box/aiab-02-optimize-a-java-based-application-konakart-with-jmeter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
