论坛首页 Java企业应用论坛

T5 developing with WTP and TOMCAT

浏览 3439 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2007-08-16  
以下是我发给tapestry右键列表的问题。 现在还没有人回复。 不知道这里有没有人是怎么develop T5的呢?
引用

Hi,

I develop with WTP and TOMCAT. If I set the tomcat don't auto-reload,
tapestry5 can take the changes of html template, while it can't take the
chages of page class. It make the hot code replace failed. However, If I
enable tomcat auto-reload. tapestry can take both html template and page
class changes. But, it will cause tomcat reload the context. It's very slow,
and after some times, it will cause tomcat out of memory. I know using Jetty
servlet container will be fine. But I like developing with eclipse WTP.

So I like the way of T3, T4, just add a java system property.
-Dorg.apache.tapestry.disable-caching=true. It would be fine. just a bit
slow while reload the page.
   发表时间:2007-08-16  
你可以到邮件列表里看一下这个
T5: Works in Jetty but not in Tomcat
0 请登录后投票
   发表时间:2007-08-16  
tapestry 写道
你可以到邮件列表里看一下这个
T5: Works in Jetty but not in Tomcat


我知道使用jettylauch这个插件可以跑  jetty。  可是我还是更喜欢用wtp。

wtp可以很好的跟maven集成。。  哀。。

我感觉T5的class loader的改变是一个败笔,怀念T4的disable-caching。

还有  wicket 好像也有这样的机制。  但是在wtp下运行良好。。
0 请登录后投票
   发表时间:2007-08-16  
我还是放弃了wtp。 现在使用jettylauncher来develop
0 请登录后投票
   发表时间:2007-08-17  
详细请看http://www.nabble.com/T5-developing-with-WTP-and-TOMCAT-t4273924.html
0 请登录后投票
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics