Wicket - 运行时类重新加载
我有一个典型的抱怨——重建和重新加载网络应用程序需要太长时间。我想编译类(最好是从 IDE)或更改静态文件,并让服务器检查更改的内容并采取适当的行动(重新加载类/文件)。
Wicket + JDK 1.6 有哪些选项?我更喜欢 Jetty,但 Tomcat、JBoss AS 或其他也不错。
我没有使用 ReloadingWicketFilter
,因为我使用 mvn jetty:run-exploded
因为这是使用所需配置运行我的应用程序的最简单方法,而 jetty 插件不(?)支持使用它。
谢谢, 翁德拉
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 ReloadingWicketFilter
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请务必在开发模式下配置 Wicket,方法是将此 init 参数添加到 web.xml 中的 Wicket 过滤器中:
另一个生产力增强器是 JRebel,它会动态重新加载类文件更改(好吧,大多数更改)。
Be sure to configure Wicket in development mode by adding this init param to Wicket's filter in web.xml:
Another productivity booster is JRebel which reloads classfile changes (well, most of them) on the fly.