Hot Swapping

2018-09-09 8:00 PM (6 years ago)

A new plugin, Spincast Hotswap, helps you configure hot swapping (sometimes called "hot reloading") in your application.

The plugin uses HotswapAgent + DCEVM to get the best Java classes redefinitions solution available for free! The modifications you make to your Java source code during development are immediately picked up, without the need to restart the application.

In addition to the automatic classes redefinitions provided by HotswapAgent, you can also register listeners to be called when modifications are made. By using such listeners, you can run custom code to react to modifications (by clearing cache, refreshing routes, refreshing configurations, etc.).

Those new features lead to a very pleasant and fast development experience.