Solved

Using threads in Servlet Context

Posted on 2003-10-21
4
208 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

790 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