wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes JBoss application server threads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss application server threads" Watch "JBoss application server threads" New topic
Author

JBoss application server threads

Prashanth naik
Greenhorn

Joined: Feb 17, 2014
Posts: 2
Is JBOSS application server create any thread while running application with connecting database ?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

Prashanth naik wrote:Is JBOSS application server create any thread while running application with connecting database ?


Could you translate that into English, please?


Customer surveys are for companies who didn't pay proper attention to begin with.
Prashanth naik
Greenhorn

Joined: Feb 17, 2014
Posts: 2
How JBOSS application server will respond while executing the application?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Basically, the JBoss application server will run a thread for each request that comes in from a browser or some other source. JBoss AS maintains a pool of worker threads, when a web request comes it it assigns an available thread to handle the request, once the request is finished the thread goes back into the pool. Note that if you sit a a browser, each request that you make will probably be handled by a different thread. As far as databases are concerned, if the request requires database interaction, that thread will perform the interaction (and on the database side there is a similar situation where the database had a pool of worker threads that handle incoming requests).

I hope this helps.


JBoss In Action
 
 
subject: JBoss application server threads