Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #21878

Re: Tomcat Multi-Threading

Date 2013-01-30 17:49 +0000
From lipska the kat <"nospam at neversurrender dot co dot uk">
Organization Trollbusters 3
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>
Message-ID <d8WdnWAp7YW1wJTMnZ2dnUVZ8jmdnZ2d@bt.com> (permalink)

Show all headers | View raw


On 30/01/13 16:28, Lew wrote:
> Magnus Warker wrote:
>> Arne Vajhøj wrote:
>>> Lew wrote:
>>>> In the world of Java, no applications are single threaded.
>>> I think most people would consider a console app with no
>>> threads to be single-threaded.
>>
>> There is even no relationship between a programming language and the
>> threading architecture of an application. The fact that Java supports
>> multi-threading does not lead to the fact that every Java application is
>> multi-threaded.
>
> No, the first fact does not lead to the second fact, but the second fact is nevertheless true.
>
> The JVM is multi-threaded and has, what, a minimum of four? at any rate severa; threads running
> even if the application only uses one of them.

I think you may be confusing the VM and the threads it uses to do 
housekeeping (garbage collection, assignment of execution threads to 
multiple processors etc) with the application running in the VM, which, 
unless you explicitly create a new Thread in your code will by default 
be single threaded.

> Do a little research.

Well quite

lipska

-- 
Lipska the Kat©: Troll hunter, sandbox destroyer
and farscape dreamer of Aeryn Sun

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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