Stop restarting SAP Commerce to test a code change

Reclazz loads your changed Java classes into the server that is already running. Change a method, build, refresh the page. No restart, and you stay logged in.

Free and open source. Java 17 or newer.

A discount rule is changed from 10% to 15% in DefaultShopPriceService. After a build, the jacket's price on the running server drops from 72.00 to 68.00. Same server process, no restart. Open the video file

Set up in a few clicks

The plugin opens a setup window the first time you open your project. For SAP Commerce it adds two lines to local.properties and runs ant server for you; restart your server once and you are done. For a Spring Boot or plain Java project you only switch Reclazz on.

  1. Open full-size screenshot

    1. Add the agent to local.properties

    The plugin shows the two lines before it writes them. You can remove them again with one click.

  2. Open full-size screenshot

    2. Run ant server

    The wizard runs it and shows the output. If your server is still running, it tells you to stop it first.

  3. Open full-size screenshot

    3. Connect an AI assistant (optional)

    Lets Claude Code, Cursor, VS Code or Codex see whether a change was reloaded. Skip it if you don't use one.

Open the setup guide

A restart for every change adds up

Every SAP Commerce (Hybris) restart means waiting for the server to start, logging in again and clicking back to the page you were testing. Ten changes a day is a lot of waiting.

Without Reclazz

Build. Restart the server and wait. Log in again. Find your page. Check the change.

With Reclazz

Build. Refresh the page. Check the change.

What you can change without a restart

Method bodies, new methods, Spring beans, configuration, JSP, ImpEx and more. New in 1.13: new interface methods, new Spring Data queries, SAP Commerce @Value properties and more Spring XML edits. Some changes, like changing a class's superclass, still need a restart. Reclazz tells you when that happens and which file caused it.

Change a method

Build the edited class and call the method again to see the new result.

Reloads Details

Add a method

Use your new method from a caller compiled with the change.

Reloads, with a condition Details

Add a Spring Data query

Add a query to a JPA repository. Compile the interface and its watched caller together the first time.

Reloads, with a condition Details

Refresh a Spring bean

Try a supported bean change in the running Spring application.

Reloads, with a condition Details

Update a web route

Try the changed Spring MVC mapping with a new request.

Reloads, with a condition Details

Change a Boot setting

Edit a supported property and check how your app responds.

Reloads, with a condition Details

Edit a Commerce type

Save items.xml to regenerate and reload supported SAP Commerce classes.

Reloads, with a condition Details
See the full list

Common questions

A change didn't show up?
Which changes can I reload?

Try changing the text returned by a method. For a new endpoint, Spring configuration or a generated SAP Commerce type, check the conditions in its guide.

Will I keep my application state?

Changing a method body alone keeps existing object fields. If Spring recreates a bean as part of the edit, that bean starts with fresh state.

Is everything free?

Yes. The agent, the IntelliJ plugin and all reload features are free and open source under Apache 2.0.

What happens when I save items.xml?

Reclazz runs SAP Commerce code generation and reloads supported generated classes. If you add a database column, you still need to update the schema.

Can I use Gradle or Maven?

Yes. Choose one way to attach the agent to each JVM. The quickstart covers IntelliJ, Gradle, Maven and the standalone agent.

How it works

What still needs a restart

A Java agent watches compiled output in your application. A method-body edit keeps existing object fields. A refreshed Spring bean can lose its mutable state. Changing a superclass requires a restart.

Java reload reference

Agent: Java 17+. Tested: 17/21; JDK 25 runtime tested locally. IntelliJ IDEA: 2023.3 to 2026.3.

Versions and requirements

The default live suite defines 65 required scenarios.

SAP Commerce setup
Compared with JRebel and other tools
Compare the development workflow
CapabilityReclazzJRebelSpring Boot DevToolsHotswapAgent / DCEVM
Price and licenceFree, Apache 2.0 SourceCommercial; price by quote SourceFree, Apache 2.0 (part of Spring Boot) SourceFree, GPL-2.0 Source
How a change is appliedRedefines classes in the running JVM SourceReloads classes in the running JVM SourceRestarts the application in a fresh classloader SourceRedefines classes in the running JVM Source
What survives a changeMethod edits keep object fields; a refreshed Spring bean is recreated and can reset its state SourceExisting instances kept; added fields are not initialized in them SourceApplication state resets with the application classloader (inferred from restart mechanism) SourceJVM keeps running; object state not described
Add or remove methods and fields on a stock JDKSupported on stock JDK 17+ through recompiled watched callers. Added members do not become native declarations on the original class. SourceClass structure changes on standard JVMs; vendor article describes the mechanism SourcePicked up by a restart SourceNeeds an enhanced JVM such as JetBrains Runtime (DCEVM) Source
SAP Commerce: items.xml / beans.xml changeRegenerates and reloads model/DTO classes; schema update still separate SourceNot documentedNot documentedNot documented

Why teams switch from JRebel

“Not documented” means the reviewed vendor documentation does not establish support.

Full comparison and sources

Search guides, changes and limits. Your query stays in this browser.

↑ ↓ to select · Enter to open · Esc to close