"Hotswap" or "Hotswapping" refers to dynamically replacing a class implementation during the runtime of an application.
Questions tagged [hotswap]
246 questions
0
votes
1 answer
Hot Deployment of servlet contexts loaded from classpath?
I've got the following embedded Jetty setup:
ServletContextHandler topHandler = new ServletContextHandler(server, contextPath);
// Set path of static resources
topHandler.setBaseResource(...);
// Bind dynamic content to /api
…

Gili
- 86,244
- 97
- 390
- 689
0
votes
0 answers
IntelliJ hot-swapping local tomcat Ant based deployment
All of the hot swapping information I've read involved deploying an exploded war, which makes the run/debug configuration allow 'Update classes and resources'. However, I'm working with a legacy program that compiles and jdo-enhances with Ant,…

Darrel Holt
- 870
- 1
- 15
- 39
0
votes
1 answer
JVM's Hot Swap of classes loaded by Spring, using JPDA
could please anybody share his experience about this topic ?
When using jpda on tomcat, does class reloading work even for classes loaded via spring ? Let say that I have spring context with couple of classes loaded and instantiated and I want to…

lisak
- 21,611
- 40
- 152
- 243
0
votes
2 answers
Wrong Type at Constant Pool after Hot-Swapping Code using DCEVM
Hey everyone!
For context I am working on a simple spring project in intelliJ to configure it with HotswapAgent using DCEVM [8u181 build 2 ] along with the compatible JDK [ 8u181 ] on the Payara 5.0 Application Server.
Please bear with…

Bakar
- 383
- 1
- 9
- 27
0
votes
1 answer
How to create WPF Application that uses Reloadable Plugins?
I have an interesting problem at hand.
I have a need to create a WPF Application which will host several UserControls. (The application does just that - serves as a container with docking abilities for UserControls)
The application will also host…

Ven
- 1
- 2
0
votes
0 answers
Hotswapping using ReactJS
I am trying to hotswap the "X" and "O"s in a tic tac toe app that I created using ReacJS on selection of a radio button with images without a submit button. All the previous "X"s and "O"s will be automatically changed to the respective images on…

merilstack
- 703
- 9
- 29
0
votes
2 answers
How to load the modified classes which has been imported to scalate without jetty-restart?
I am using scalate as my view templates, and sbt + jrebel. But I found if the classes imported to scalate has been modified, we have to restart jetty, or there may be complication errors.
The code is pretty simple:
webapp/WEB-INF/web.xml

Freewind
- 193,756
- 157
- 432
- 708
0
votes
0 answers
intellij hotswap doesn't work: adding one local variable
I am using OracleJVM with Intellij remote debugging. I am not doing any DCEVM fancy stuff. My code:
public static String test() {
String data; //new code
if (some condition){
//...
data = "abc"; //new code
//...
…

user21479
- 1,179
- 2
- 13
- 21
0
votes
0 answers
How to update resources at runtime in spring boot-angular project using IntelliJ IDE
I am new to Spring boot and angular so lease bear with me if something is not clear in the question or I am asking something trivial. I downloaded a sample project for learning purposes and I am able to deploy the application
Project structure
I…

Nick Div
- 5,338
- 12
- 65
- 127
0
votes
1 answer
how to enable hotswap in Visual Studio
I found a similar question from 2014 without answer or practical comment ( Hot swapping code like Java in C# ). I am quite unexperienced with DOT NET (my background is Java). I really don't want to compare IDEs or languages. My question is…

Jim C
- 3,957
- 25
- 85
- 162
0
votes
1 answer
Exceptions running HotswapAgent on tomcat spring project
Trying to set up HotSwapAgent for project (tomcat7-maven-plugin, spring 4.3.x, java 8)
basically according to example:
- installed DCEVM
- downloaded hotswapagent.jar
- run maven with vm options -XXaltjvm=dcevm…

Bublik
- 912
- 5
- 15
- 30
0
votes
0 answers
Spring Boot - IntellIj: hot swapping does not work for resources/static folder
I started working on spring boot project recently. I have project structure as shown below image.
Problem: When I change any js/css files under resource/static folder, IDE fails to do hot swap. I am using spring-boot-devtools, Thymeleaf resources…

swaroop pallapothu
- 588
- 1
- 6
- 15
0
votes
1 answer
Hot Swap,Hot Reload,Live Reload
I feel quite confused with the three words, what's the difference between them? The picture is from Hot Swapping

Vikki
- 1,897
- 1
- 17
- 24
0
votes
1 answer
How to deploy Java service class (jar files) without restart wildfly server
I would like to know whether it's possible to deploy customized Java service class to activiti without restart the application server (wildfly in my case).
Currently, I have to put the jar to classes folder and then restart the whole server. I have…

Tonny Tc
- 852
- 1
- 12
- 37
0
votes
1 answer
how does EVM hold code version in a process and what's the OTP do in term of hot reload?
I'm exploring Elixir/Erlang hot reload and attempt to know how does Erlang hot reload works.
some post here give a glance of hot swap and here, from elixir, give a key step of hot swap.
Besides, I give a try with Erlang ranch which is famous tcp…

LoranceChen
- 2,453
- 2
- 22
- 48