hotswap

Limitations with Java Hotswap

The java hotswap feature save a lot of time for me. However, it has many limitations (like schema change is not supported). Any idea if the limitation is going to be addressed any sooner? According to this forum entry, it seems to be ignored. I know that products like JavaRebel helps. But does anyone know about any open source tools for...

searching for a programming platform with hot code swap

I'm currently brainstorming over the idea how to upgrade a program while it is running. (Not while debugging, a "production" system.) But one thing that is required for it, is to actually submit the changed source code or compiled byte code into the running process. Pseudo Code var method = typeof(MyClass).GetMethod("Method1"); var co...

Which programming languages support hot code swapping and/or sandboxing?

Hello, I would like to write a web based MMO game that will allow users to write AI and run it as part of the game. I plan to use Html5 for graphics and want this to be web based so it can be accessed from smartphones. I need to find a programming language that will support sandboxing, concurrency, hot code swapping, and a large librar...

Change class instance inside an instance method

Any idea if there is a way to make the following code to work class Test(object): def __init__(self, var): self.var = var def changeme(self): self = Test(3) t = Test(1) assert t.var == 1 t.changeme() assert t.var == 3 is something like the following safe to use for more complex objects (like django models, t...

Do other languages apart from Erlang have the ability to send code to running instances?

I just learnt that Erlang can remote load code and modules onto all instances of a cluster by using the "nl" command. Can any other languages do this? ...

RXTX and Serial USB : Hotplug management on linux/windows

Hi everybody. I'm writing an RXTX based code in order to detect the plug and unlug of a USB serial device on linux/windows. public class PortMonitor implements Runnable { String portname; boolean life = false; CommPort p = null; public PortMonitor(String name) { this.portname = name; } public void s...

Hotswap in Resin with IntelliJ IDEA

Hi. I have a problem. I'm developing under IntelliJ IDEA with resin server. Hotswap isn't working. If I change any Java code ( string value or something simple ) it always restarts server. When i worked with resin ver.2 it worked perfectly. but no i's just doesn't work. What i should look for to enable this feature? TIA ...

'Hot code replace' not working -- Eclipse doesn't change any code on JBoss

Hello, fellow visitors! I'm currently experiencing a problem with 'hot code replace' not working on Eclipse Galileo and JBoss 4.2.3. Among other applications I'm running an exploded Java WAR on my local JBoss. The project from which it is build is managed by Maven. I build the project using the Maven goal war:exploded and then I copy t...

Code hot swapping in Erlang

I recently saw a video about Erlang on InfoQ, In that video one of the creators presented how to replace the behavior of a message loop. He was simply sending a message containing a lambda of the new version of the message loop code, which then was invoked instead of calling the old loop again. Is that code hot swapping in Erlang reffe...

Eclipse Hot Code Replace Fail - republish web application

I use the Hot Swap java debugging feature with web app on Tomcat. After some class signature change, I got "Hot Code Replace Fail" Eclipse dialog - I understand that. What I want in such case is to republish the application (I can do that) and work with the newly deployed code. However the debugger stil complains, until I restart the se...

online update mechanism for a c++ SERVER app

Couldn't find anything about this topic. I have a Windows TCP C++ server application which I want to update from time to time. As you obviously understand this introduces a problem - the server should be 24/7 from the users' perspective. When updating, it is also desired to keep the current TCP connections with the users. I've been ...

hot reloading / swapping with Python

I want code changes to take effect immediately during development. How can I detect changed files and reload them in the running Python (2.7) application? Edit: After reading the pages linked by 'Ivo van der Wijk', I think it would be best to restart the web application when code changes - like Django does. So the actual question is: H...

long running loops becomes non-debuggable in intellij

I use IntelliJ to develop and debug applications. Many times I hot-swap classes as part of debugging. Some time (just sometimes) I am unable to set break points in newly added code. The IDE shows that the break point is valid-- but does not stop there. I observed that this happens with loops that ran many many times. Any one faced simi...

Is it possible to do hot code swapping in C ?

this en.wikipedia.org/wiki/Hot_swapping#cite_note-1 says that VS can do it with the help of its debugger. Does gdb provide a similar functionality ? this is the closest i could find, but doesn't seem to be ready to be used: http://www.aitdspace.gr/xmlui/handle/123456789/219 dlopen/dlsym/dlclose are also close, but will not work for ...

Eclipse: editing and running code live

When editing Java code in Eclipse I can modify the code while it's running in various ways and have those changes take effect without restarting my program. What is the technology underlying this feature? Is it part of Eclipse, or is it something I can do with the command line tools and the tools that come with the JDK? ...