aspose file tools*
The moose likes Servlets and the fly likes Creating a Thread in a Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Creating a Thread in a Servlet" Watch "Creating a Thread in a Servlet" New topic
Author

Creating a Thread in a Servlet

RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Hello Ranchers ,

Will it be a good practice if i create a Thread in a servlet ?

Can the Container manage this ?Or it will let the application in trouble?

Will the application will face any problems in issues ?

Your valuable suggestions needed.


If you want something you never had do something which you had never done
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Will it be a good practice if i create a Thread in a servlet ?

Depends on the functional design and requirements.

Can the Container manage this ?Or it will let the application in trouble?

Will the application will face any problems in issues ?

Depends on the technical design.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
There's no technical problem with it, but as Bauke said, whether it's good design depends on the circumstances.


Ping & DNS - updated with new look and Ping home screen widget
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Bad code could cause technical problems.

Just understand the material.
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Thanks a lot .I mean it
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating a Thread in a Servlet
 
Similar Threads
How are Servlets and objects in it instantiated?
session mix up
How to Shedule a servlet
ActionServlet Thread Safe
thread safe servlet