Hot reload for SAP Commerce (Hybris)

An SAP Commerce restart takes minutes, and then you log in again and click back to the page you were testing. Reclazz puts your change into the server that is already running. Change the code, build, refresh the page.

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

What reaches the running server

Each item has conditions. The SAP Commerce guide lists them.

What still needs a restart

Changing a class's superclass, configuration that is only read at startup, and anything Reclazz cannot apply safely. In those cases Reclazz tells you which file needs the restart, instead of leaving old code running.

Set up in a few clicks

  1. Install the Reclazz plugin in IntelliJ IDEA and open your SAP Commerce project.
  2. The setup window adds two lines to your SAP Commerce properties (local.properties, or 95-local.properties when you use an optional config directory) and runs ant server for you.
  3. Restart the server once. From then on, a build is enough.

Reclazz needs Java 17 or newer, so it works with SAP Commerce versions that run on Java 17 or newer.

Questions

Is it free?

Yes. The agent, the plugin and every reload feature are free and open source under Apache 2.0.

Does it change my project?

It adds two lines to your SAP Commerce properties (local.properties, or 95-local.properties in an optional config directory). The plugin shows them first and removes them with one click.

Does it work without IntelliJ?

Yes, attach the agent yourself. The SAP Commerce guide shows how.

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

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