How it works # Hot deployment based on Java HotSwap # With some IDEs you can perform changes on your java classes, compile them and test the results without redeploying the project or restarting your server. This approach is based in JVM HotSwap . HotSwap allows debuggers to update class bytecode, using the same class identity. This meant that all objects could refer to an updated class and execute new code when their methods were called, preventing the need to reload a container whenever class bytecode was changed Unfortunately, this redefinition is limited only to changing method bodies -- it cannot either add methods or fields or otherwise change anything else, except for the method bodies. Neither can you "hot deploy" JSPs and some other resources. Solution 1 Hot deployment beyond HotSwap with JRebel # To support the "hot deployment" of deeper changes in Java classes, you can use JRebel technology . JReb...
Comments
Post a Comment