title: Code change reloading in Wicket
body: <p>I've started to work with <a href="http://wicket.apache.org/" rel="nofollow noreferrer">Wicket</a>. When I make changes to the HTML templates, that becomes visible right away.</p>
  
  <p>But when I make changes to the code, I need to restart Jetty. I'm running in <code>DEVELOPMENT</code> mode (at least that's what the big fat warning in the log says) and I have installed the <code>ReloadingWicketFilter</code> as per this question: <a href="https://stackoverflow.com/questions/3082312/wicket-runtime-class-reloading">Wicket - runtime class reloading</a></p>
  
  <p>My guess is that this behavior is because I make all changes in the constructor of my pages and Wicket doesn't create a new page when I reload.</p>
  
  <p>I've browsed the Wicket examples but there is no example which shows how to build a Wicket page <em>without</em> adding all components in the constructor or how to tell Wicket to create a new page for every request or how to tell Wicket to create a new Page.</p>