struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakub Milkiewicz" <jmilkiew...@gmail.com>
Subject Re: How to create a Waiting Page for long requests?
Date Wed, 03 May 2006 20:07:59 GMT
Hi
I think JMS is only valid , i.e. following specification solution.
Take a look at:
http://www.javaranch.com/newsletter/200403/AsynchronousProcessingFromServlets.html

2006/5/3, Dave Newton <newton@pingsite.com>:
>
> Ed Griebel wrote:
> > The tricky part is that you can't create a new thread in your action
> > as it violates the servlet spec (as you don't know what thread will
> > get subsequent requests from the same session, so you've lost the
> > handle to your child thread),
>
> Oh, yeah? Is that equally valid for a servlet that's run only on
> initialization that starts a thread that thrashes through the database
> every now and then doing something? I know I could use jCrontab/etc. but
> they're already mad enough at me for using not-invented-here stuff   >:-(
>
> Dave
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message