# \[AIAB-03] Optimize a Java-based application (Konakart) with LRE

In this guide, you'll learn how to optimize [Konakart](https://konakart.com), a real-world Java-based e-commerce application, by leveraging Micro Focus LoadRunner Enterprise performance testing tool and Prometheus monitoring tool.

Please refer to this knowledge base article on how to set up a Konakart test environment and to this page on how to integrate LoadRunner Enterprise with Akamas.

#### **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 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

* 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.
* A working LoadRunner Enterprise installation


---

# 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-03-optimize-a-java-based-application-konakart-with-lre.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.
