On Wed, 03 Sep 2014 08:51:29 -0300, Chung Khanh Duy <chungkhanhduy1...@gmail.com> wrote:

Hi experts,

Hi!

So now I would like to do something in another thread and after this thread completed, I will render resultZone. Is that possible ?

Yes and no. Yes if you don't mind the AJAX request being blocked until the other thread finishes, no otherwise. That would need async support, something Tapestry doesn't have yet and only the latest servlet containers support.

Because I would
like to increase performance in case "do something" consume a lot of time.

The general rule for performance in any kind of program is to not optimize something anything unless you're already sure this something is actually a bottleneck. Otherwise, you risk complicating and breaking a piece of code for no gain.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to