Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Request and HttpServletRequest - across VMs?

 
Manikandan Jayaraman
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the request propagate across VMs?

Distributed applications are spread across VMs and thus to service a request, there might be multiple VMs required t interact for the same.

Am I Right?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Multiple JVMs might be involved, depending on the architecture used, but the request goes to one particular JVM, where the relevant data is extracted. That JVM then delegates or uses other JVMs if warranted. So the HTTP request itself is not "distributed" in any way, although it may cause further requests to other JVMs to be sent.
 
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!