aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes in-process Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "in-process Servlet" Watch "in-process Servlet" New topic
Author

in-process Servlet

Steven Colley
Ranch Hand

Joined: Feb 18, 2005
Posts: 290
What is " in-process Servlet container" ?

tks.


SCJP | SCWCD | SCBCD | SCWSD 5 | SCEA (I) 1.4 | SCEA 5 | IBM SOA 669
Mishra Anshu
Ranch Hand

Joined: Sep 16, 2003
Posts: 224
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.


"Ignorance is bliss"
Steven Colley
Ranch Hand

Joined: Feb 18, 2005
Posts: 290
OK Thank you!
Steven Colley
Ranch Hand

Joined: Feb 18, 2005
Posts: 290
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

Joined: Dec 28, 2005
Posts: 57
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....
 
Don't get me started about those stupid light bulbs.
 
subject: in-process Servlet