Questions tagged [hotdeploy]

Deployment of an application to a server without the need of restarting the server for changes made in the code base to take effect.

Hot deployment makes it possible to deploy an application to a server without the need of restarting the server for changes made in the code base to take effect.

166 questions
46
votes
4 answers

What makes hot deployment a "hard problem"?

At work, we've been having a problem with "PermGen out of memory" exceptions, with the team lead deciding it was a bug in the JVM - something related to hot-deployment of code. Without explaining many details, he pointed out that hot deployment is a…
Andrey Fedorov
  • 9,148
  • 20
  • 67
  • 99
46
votes
7 answers

Hot Code Replace Failed (eclipse)

"Hot Code Replace Failed - add method not implemented". I get this error message every time I change something in my test class (and save it). Can't figure out what it means. Can somebody help?
snakile
  • 52,936
  • 62
  • 169
  • 241
26
votes
4 answers

Why is Java's debugging Hot Swap limited to intra-method changes?

I have gone through hot deployment tutorial and it works. But i have questions about the limitations(point 3) i.e Hot deploy has supported the code changes in the method implementation only. If you add a new class or a new method, restart is still…
emilly
  • 10,060
  • 33
  • 97
  • 172
22
votes
1 answer

Hot deploy Liferay Maven portlet from Intellij Idea to Liferay Tomcat bundled

I'm developing a Liferay portlet and I can't stand waiting for Maven to build the .war file and then copy that .war to LifeRay's auto-deploy directory to finally wait (again) till LifeRay finishes deploying it. That's why I want to build, start…
Nahuel Barrios
  • 1,870
  • 19
  • 22
20
votes
1 answer

How do Grails or Play detect changes and hot reload classes?

I'm curious does anyone know the details on how frameworks like Grails or Play detect changes in the code and automatically trigger a recompilation without rebooting the app server? Is there something specific to Groovy's compiler or its dynamic…
mckamey
  • 17,359
  • 16
  • 83
  • 116
16
votes
3 answers

Tomcat and Eclipse Zero Turnaround Deployment

I want to be able to deploy code changes to Tomcat (near instantly), while I'm developing in Eclipse. So far, I have my output from Eclipse placing the built classes in the WEB-INF/classes folder of my web application. I also have a reloadable…
Michael
  • 7,348
  • 10
  • 49
  • 86
16
votes
1 answer

hot deploy in embedded jetty

I have a Spring Roo project and I use mvn jetty:run to run my app. The only problem is changes to the *.java classes do not hot deploy, while changes to *.jspx hot deploy fine. So how can I configure mvn jetty to hotdeploy for java classes?
Lydon Ch
  • 8,637
  • 20
  • 79
  • 132
16
votes
2 answers

Alternative of Jrebel for Hotswap or HotDeployment in Eclipse

As i am working in Java from past couple of year i do not saw any effort from Oracle to solve the problem of class reloading. Like done by Jrebel But its a licensed version and cost is very high its very worthy for me to buy 10-20 developer…
user2589993
14
votes
3 answers

Eclipse Tomcat not Updating

I am developing an application with SpringMVC and Tomcat using Eclipse. The problem is: the server does not update the changes I am making. One example: @RequestMapping(value = "test", method = RequestMethod.GET) public ModelAndView test(){ …
Mauro M
  • 669
  • 1
  • 8
  • 25
14
votes
2 answers

Tomcat and OSGi

I was wondering if it is possible to embed an OSGi container like Karaf inside a Tomcat instance. According to this SO question and a few others, it seems like its possible, but I can't seem to find any solid details on how to do this or what…
user1768830
13
votes
1 answer

How hot deployment works internally?

I am using eclipse server capability for hot code deployment. Using tomcat as web server. But i am not sure how it works. I have my own understanding how it must be working internally. My understanding :- When developer make the changes in code(say…
emilly
  • 10,060
  • 33
  • 97
  • 172
12
votes
8 answers

Which Java web frameworks provide hot-reload?

I'd like to know which Java web application frameworks provides a "hot reload" capability, i.e., it allows to develop applications and has them redeployed on the server "almost instantly" (i.e., in less than a few seconds). In the Java world, Play!…
12
votes
4 answers

Is there a way to hot-deploy delta changes onto an Android device? [Say, like JRebel]

I am an Indie Game Developer, and I am currently building a game for the Android Platform, using NDK. My problem is that, this game is now more than 20MB in size and is taking a lot of time to deploy and start up on my Android Device, which is…
Hari Krishna Ganji
  • 1,647
  • 2
  • 20
  • 33
10
votes
4 answers

Redeploying Java EE applications immediately

I am quite new to Java EE and have been struggling with the slowness of the deployment process, and wonder if I'm doing something wrong. I am experienced with Django where the changes to code immediately occur, and it seems that hot deploying Java…
ustun
  • 6,941
  • 5
  • 44
  • 57
10
votes
2 answers

OSGi vs jboss hot deploy

From what I understand, in OSGi you can update jars at runtime without restarting the server. But jboss also has hot-deployment in which the full ear is updated and the server is still running. So what would be the benefits of OSGi in an enterprise…
Horatiu Jeflea
  • 7,256
  • 6
  • 38
  • 67
1
2 3
11 12