• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

in-process Servlet

 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is " in-process Servlet container" ?

tks.
 
Mishra Anshu
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The in-process Servlet containers are the containers which work inside the JVM of Web server, these provides good performance but poor in scalibility.

The out-of-process containers are the containers which work in the JVM outside the web server. poor in performance but better in scalibility
In the case of out-of-process containers, web server and container talks with each other by using the some standard mechanism like IPC.

In addition to these types of containers, there is 3rd type which is stand-alone servlet containers. These are an integral part of the web server.

Please visit the Apache site for more info.
 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK Thank you!
 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but what would be the correct answer here so:

What differentiates an in-process Servlet container?

Choice 1 - The container runs in its own process thread from the Web server.

Choice 2 - The Servlet container runs in the same process space as the JSP container.

Choice 3 - The Servlet container runs in its own process separate from the Web server.

Choice 4 - The container runs as a plug-in within the same address space of the main server.

Choice 5 - Java-based Web servers where the Web server and the Servlet container are integral parts of a single program.

?

Tks.
 
vandu matcha
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In-Process servlet containers run within the address space of the main server as a plug in.Here the main webserver and servlet container are different programs...but this container runs within the main server as a plug in..hence Choice 4 is right option...

Ranchers Correct me if i am wrong....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic