Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #21914
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail |
|---|---|
| NNTP-Posting-Date | Thu, 31 Jan 2013 02:47:49 -0600 |
| Date | Thu, 31 Jan 2013 08:47:47 +0000 |
| From | lipska the kat <"nospam at neversurrender dot co dot uk"> |
| Organization | Trollbusters 3 |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Tomcat Multi-Threading |
| References | <b0a71c30-d85f-4acc-9d36-d9c1f397f69e@googlegroups.com> <faa97c61-c830-4201-9314-4f38df1c770f@googlegroups.com> <510887fc$0$286$14726298@news.sunsite.dk> <kealt4$h8s$1@news.m-online.net> <692563e7-016b-4f22-afaa-228965e501b8@googlegroups.com> <d8WdnWAp7YW1wJTMnZ2dnUVZ8jmdnZ2d@bt.com> <3283e20d-e72b-41df-98dc-9b539e149db9@googlegroups.com> <5109e346$0$295$14726298@news.sunsite.dk> |
| In-Reply-To | <5109e346$0$295$14726298@news.sunsite.dk> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Message-ID | <kaednTx7wYMospfMnZ2dnUVZ7v-dnZ2d@bt.com> (permalink) |
| Lines | 43 |
| X-Usenet-Provider | http://www.giganews.com |
| X-AuthenticatedUsername | NoAuthUser |
| X-Trace | sv3-vsMTw+RY5t9CPQuZ6rcGHkMq27QFIb35ZbHatwNoZst1U+GMRMWBMP1DgXdwAl+sqeBj/GQltIOrTYl!SYhuyirucf58RQg8QSHvsjoBTAXZdoFEPd3RjwfVwu4O2D+/VwIcGv+Ze9zsZol0patyj91CWko= |
| X-Complaints-To | abuse@btinternet.com |
| X-DMCA-Complaints-To | abuse@btinternet.com |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 3275 |
| Xref | csiph.com comp.lang.java.programmer:21914 |
Show key headers only | View raw
On 31/01/13 03:21, Arne Vajhøj wrote: > On 1/30/2013 5:48 PM, Lew wrote: >> lipska the kat wrote: >>> Lew wrote: [snip] > What we are skeptical about is you claim that all Java apps > are multi threaded. That seems to be based on a rather unsual > definition of multi threaded. I think this is the point. What exactly is a multi-threaded application. The OP asked a question re Tomcat When you write a web app you have no conventional Java entry point (public static void main(String[] args), you are actually extending the server. IIRC the Tomcat docs explicitly advise against instantiating new threads. I don't think that anyone would argue against the fact that *Tomcat* is a multi-threaded application. Does this make your web-app multi-threaded ... Well yes it does but only as a *side effect* of the way the container manages multiple requests for the same resource, if you extend a multi-threaded application then by implication your application is multi-threaded. That's my view of things anyway. Applications with a single public static void main(String args[]) entry point are different. If you don't explicitly create new Threads then I don't think you would call your application multi-threaded. The fact the the JVM uses multiple threads to do houskeeping tasks is an implementation detail. The clincher is that the JVM isn't a Java application (in the way that Tomcat is). There is a difference of course between green and native threads but that discussion is beyond the scope of this document :-) Or maybe you disagree lipska -- Lipska the Kat©: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Tomcat Multi-Threading zigzagdna@yahoo.com - 2013-01-29 17:59 -0800
Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-29 21:21 -0500
Re: Tomcat Multi-Threading zigzagdna@yahoo.com - 2013-01-29 19:48 -0800
Re: Tomcat Multi-Threading Lew <lewbloch@gmail.com> - 2013-01-29 18:31 -0800
Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-29 21:39 -0500
Re: Tomcat Multi-Threading Lew <lewbloch@gmail.com> - 2013-01-29 22:54 -0800
Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-30 22:09 -0500
Re: Tomcat Multi-Threading Magnus Warker <magnus@mailinator.com> - 2013-01-30 09:34 +0100
Re: Tomcat Multi-Threading Lew <lewbloch@gmail.com> - 2013-01-30 08:28 -0800
Re: Tomcat Multi-Threading Magnus Warker <magnus@mailinator.com> - 2013-01-30 18:04 +0100
Re: Tomcat Multi-Threading jlp <jlp@jlp.com> - 2013-01-30 18:44 +0100
Re: Tomcat Multi-Threading Lew <lewbloch@gmail.com> - 2013-01-30 09:49 -0800
Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-30 22:17 -0500
Re: Tomcat Multi-Threading Magnus Warker <magnus@mailinator.com> - 2013-02-01 18:33 +0100
Re: Tomcat Multi-Threading Lew <lewbloch@gmail.com> - 2013-02-01 11:23 -0800
Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-02-01 17:36 -0500
Re: Tomcat Multi-Threading Magnus Warker <magnus@mailinator.com> - 2013-02-03 07:17 +0100
Re: Tomcat Multi-Threading lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-01-30 17:49 +0000
Re: Tomcat Multi-Threading zigzagdna@yahoo.com - 2013-01-30 11:29 -0800
Re: Tomcat Multi-Threading Leif Roar Moldskred <leifm@dimnakorr.com> - 2013-01-30 14:30 -0600
Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-30 22:00 -0500
Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-30 21:59 -0500
Re: Tomcat Multi-Threading Lew <lewbloch@gmail.com> - 2013-01-30 14:48 -0800
Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-30 22:21 -0500
Re: Tomcat Multi-Threading lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-01-31 08:47 +0000
Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-02-01 17:39 -0500
Re: Tomcat Multi-Threading Arne Vajhøj <arne@vajhoej.dk> - 2013-01-30 22:12 -0500
Re: Tomcat Multi-Threading lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-01-30 08:51 +0000
csiph-web