Solved

Using threads in Servlet Context

Posted on 2003-10-21
4
203 Views
Last Modified: 2013-11-24
Hi All,

is it recommented to not use the Thread inside the ServletContext??

Can anybody give some informational links regarding the same?

Cheers
manojvelliyatt
0
Comment
Question by:manojvelliyatt
  • 2
4 Comments
 
LVL 35

Expert Comment

by:TimYates
ID: 9590833
0
 
LVL 35

Accepted Solution

by:
TimYates earned 500 total points
ID: 9590836
but it should be fine (so long as you don't have a race condition, and permanently hung threads)
0
 
LVL 3

Expert Comment

by:krispols
ID: 9593260
Hello manojvelliyatt,

when you want to know what part of J2EE can do the best is the specification.
For servlet you can read the following document http://java.sun.com/products/servlet/download.html#specs

regards
0
 
LVL 92

Expert Comment

by:objects
ID: 10181883
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept TimYates's comment as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

objects
EE Cleanup Volunteer
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JList custom Cell Renderer refresh 15 57
xampp tool 12 50
servlet example issue 6 40
arguments to jar 5 26
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question