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
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: 41818
    
  62
There's no technical problem with it, but as Bauke said, whether it's good design depends on the circumstances.


Ping & DNS - my free Android networking tools app
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