Hi, Antonio -

Multithreading in Java is the same in applications, applets, servlets,
whatever.  You're still in the same language environment.

If you want more details on what you need to deal with regarding threads in
servlets (in a normal servlet, each request will send a new thread through
your methods), you might look at the section of the Java Tutorial dedicated
to servlets:
http://java.sun.com/docs/books/tutorial/servlets/index.html

It includes instructions on how to write a servlet that only will handle one
request at a time (though I wouldn't recommend this unless you have a very
good reason!), and includes a link to the part of the main tutorial where
multithreading is discussed in detail.


Rob Whelan

-----Original Message-----
From: Antonio Mancuso [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 26, 1999 8:31 AM
To: [EMAIL PROTECTED]
Subject: Re: Multithreading servlet


In the Java Tutorial is explained only the Multithreading for normal
applications, but I need to know the difference to use it in servlets.

thankx




Peter N�tzel <[EMAIL PROTECTED]>@java.sun.com> on 10/26/99 01:55:32
PM

Please respond to "A mailing list for discussion about Sun Microsystem's
      Java Servlet API Technology." <[EMAIL PROTECTED]>

Sent by:  "A mailing list for discussion about Sun Microsystem's Java
      Servlet API Technology." <[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:

Subject:  Re: Multithreading servlet


look in the Java Tutorial for an introduction to this issue

ptr


-----Urspr�ngliche Nachricht-----
Von: Antonio Mancuso <[EMAIL PROTECTED]>
An: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Datum: Dienstag, 26. Oktober 1999 10:40
Betreff: Multithreading servlet


>Hello,
>someone kwon where I can get an example of Multithread Servlet?
>
>Thanks
>
>Antoni Mancuso
>
>
___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to