Kerem ÖKTEM wrote:
>
> hi there,
> i wonder if i should do anything in order to let more than one user use the
> servlet at the same time.
> should i write anything in that code regarding those.
> and also again should i write anything in order to leat more than one user
> use the databse at the same time.
>
> can something bad occur .
Can a web server handle multiple requests at the same time? The servlet runs
inside a web server...
If that doesn't answer your question... This has been discussed many times here.
Please go back and review the Archives:
http://archives.java.sun.com/archives/servlet-interest.html
Also, check out the servlet FAQ:
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets where there is an entry
on threading.
The servlet page here has links to many excellent resource, including everything
I'm listing in this email: http://www.purpletech.com/servlet-faq
Read the servlet tutorial:
http://java.sun.com/docs/books/tutorial/servlets/index.html (See client
Interaction for threading)
The Java Web Server tutorial also briefly discusses multithreading:
http://jserv.java.sun.com/products/java-server/documentation/webserver1.1/servlets/servlet_tutorial.html
Get a servlet book, there are several on the market, search an online bookstore
for Java Servlets. Also, get a book on Java Threads.
___________________________________________________________________________
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