Re: (Dispatches or filters) and threads
Nic Ferrier <[email protected]> 30 Aug 2004 15:32:04 +0100
| Newsgroups | gmane.comp.java.advanced-servlets |
|---|---|
| Message-ID | <[email protected]> |
"Marco Trevisan" <[email protected]> writes: > Reading servlet specs I noticed this reminder: > <quote src="servlet spec v.2.4-Section SRV.S.17"> > It is now a recommendation, that the dispatch should occur in the same thread > of the same JVM as the original request - based on the requirement from JSR- > 168(8.2) > </quote> > > Is anybody aware of a container, 2.2 and above api level, > that doesn't follow this recommendation ? > > The word -thread- doesn't appear between pages 49-77 of the aforementioned spec. > Does this mean that a filter and a servlet may be executed by different threads on > the same request on some existing container ? I'm not aware of any container like that... Filters and servlets could be executed by different threads, maybe the filter is done by the main thread and the servlet by a thread from the pool. It's possible that there could be a sensible reason. Nic ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Before posting a question, try to find your answer here: <http://www.egroups.com/links/advanced-servlets> Announcements should go to: [email protected] To Post a message, send it to: [email protected] To Unsubscribe, send a blank message to: [email protected] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/advanced-servlets/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/