Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating a Thread in a Servlet  RSS feed

 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no technical problem with it, but as Bauke said, whether it's good design depends on the circumstances.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bad code could cause technical problems.

Just understand the material.
 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot .I mean it
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!