• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

is jboss server blocking or non blocking ?

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i came to know tomcat 5.0 is blocking model that mean each and every client request the server will create dedicated thread. But in tomcat6 is non blocking model that mean a single thread handle all request(which is implemented java.NIO)


same way i want to know in jboss server fall what category either blocking or non blocking?


please suggest me?
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JBossAS 4.0.x uses tomcat 5.5.

I think that JBossAS 4.2.x uses Tomcat 6 (it is actually JBoss Web, but that is based on Tomcat)

JBoss 5.0 uses JBoss Web based on Tomcat 6

Where did you read the information about blocking/non-blocking models? From what I have seen, JBoss 5.0 still uses thread-per-request. If there was only a single thread the performance would be horrible as all requests would be handled serially.
 
Kaleeswaran Karuppusamy
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the article i have read form this link heading under Non-Blocking IO vs. Blocking IO

http://www.theserverside.com/tt/articles/article.tss?l=ScalingYourJavaEEApplications

i do not understand word "jboss uses tomcat" what is mean this jboss is application server and tomcat is web server why jboss uses tomcat

please reply me
 
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by kaleeswaran:

i do not understand word "jboss uses tomcat" what is mean this jboss is application server and tomcat is web server why jboss uses tomcat

please reply me



An application server still needs a web container to receive HTTP requests and forward them to servlets/jsps and send back HTTP responses. Instead of reinventing the wheel, the Jboss guys use Tomcat as the web container.
 
reply
    Bookmark Topic Watch Topic
  • New Topic