Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating a Thread in a Servlet

 
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: 42967
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic