开发者

Wicket - runtime class reloading

开发者 https://www.devze.com 2023-01-04 07:57 出处:网络
I have classical complaint - rebuilding and reloading the web app takes too long. I want to compile the classes (preferrably from the IDE) or change a static file and let the server check what changed

I have classical complaint - rebuilding and reloading the web app takes too long. I want to compile the classes (preferrably from the IDE) or change a static file and let the server check what changed and act approprietly (reload the class/file).

What are my options for Wicket + JDK 1.6 ? I'd prefer Jetty, but Tomcat, JBoss AS or others are good, too.

I am not using the R开发者_JAVA技巧eloadingWicketFilter since I use mvn jetty:run-exploded because it's the simplest way to run my app with desired configuration, and jetty plugin does not (?) support using that.

Thanks, Ondra


Be sure to configure Wicket in development mode by adding this init param to Wicket's filter in web.xml:

<init-param>
    <param-name>configuration</param-name>
    <param-value>development</param-value>
</init-param>

Another productivity booster is JRebel which reloads classfile changes (well, most of them) on the fly.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号