Does any change in any file inside bin folder cause application recycle in ASP.NET web application?

First, i can not provide a link to an official documentation. But from what i’ve read every change in the bin-folder(incl. subfolders) will cause the IIS to recycle the application domain. Abrupt Application Pool Recycling Any modifications in the Application’s BIN Directory Making changes in any Configuration File/s, like Web.config or others ( if you … Read more

How can I restart a Java application?

Of course it is possible to restart a Java application. The following method shows a way to restart a Java application: public void restartApplication() { final String javaBin = System.getProperty(“java.home”) + File.separator + “bin” + File.separator + “java”; final File currentJar = new File(MyClassInTheJar.class.getProtectionDomain().getCodeSource().getLocation().toURI()); /* is it a jar file? */ if(!currentJar.getName().endsWith(“.jar”)) return; /* Build … Read more