Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets & threads

 
William Barnes
Ranch Hand
Posts: 986
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the latest version of the Servlets spec deal differently with threads which are created inside of servlets?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlet containers are allowed to place restrictions on applications. The 2.4 spec, section SRV 1.2 specifically mentions restricting Thread creation.
Why not download the spec and read for yourself? This Sun site is a good start.
Bill
 
Scott Dunbar
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeed, WLS specifically tells you to be very careful when using threads.
 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Scott,
Do the others application server (such as Tomcat, Resin, Oracle, IBM WebSphere) have same behavior like WebLogic?

thanks
daniel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic