The dispatcher returns the response to the user.
The dispatcher places the request into the request queue.
The shared server places the response in the response queue.
The response is handed off to the next available dispatcher.
A shared server picks up the request from the request queue and processes the request.
第1题:
Given an HttpServlet Request request and Http Servlet Response response, which sets a cookie “username” with the value “joe” in a servlet.?()
第2题:
Your IT department is building a lightweight Front Controller servlet that invokes an application logic objectwith the interface: public interface ApplicationController {public String invoke(HttpServletRequest request)} The return value of this method indicates a symbolic name of the next view. From this name, the FrontController servlet looks up the JSP URL in a configuration table. This URL might be an absolute path or apath relative to the current request. Next, the Front Controller servlet must send the request to this JSP togenerate the view. Assume that the servlet variable request is assigned the current HttpServletRequestobject and the variable context is assigned the webapp’s ServletContext. Which code snippet of the FrontController servlet accomplishes this goal?()
第3题:
使用网页重定向的Response方法是:()。
第4题:
A client is searching for an access point (AP). What is the correct process order that the client and access point go through to create a connection?()
第5题:
Given an HttpServletRequest request and HttpServletResponse response,which sets a cookie "username"with the value "joe" in a servlet?()
第6题:
Click the Exhibit button and examine the diagram, which illustrates the components performing tasks within an Oracle Shared Sever environment. Which task is being performed by component 4?()
第7题:
The direct handoff connection method to an Oracle9i Shared Server involves fewer messages than in previous releases of the multithreaded architecture. Which type of message has been eliminated?()
第8题:
Which four occur during the processing of a request using Oracle Shared Server?()
第9题:
The initial request from the client to the listener.
Messages between the dispatcher and the shared server background processes.
A redirect message from the listener to the client during client connections.
Round-trip messages between the listener and the shared server background processes.
第10题:
probe request/response, authentication request/response, association request/response
association request/response, authentication request/response, probe request/response
probe request/response, association request/response, authentication request/response
association request/response, probe request/response, authentication request/response
第11题:
A dispatcher can support multiple client connects concurrently while a shared server process can be dedicated to only one dispatcher.
Under the Oracle Shared Server architecture, client-user processes connect to shared user processes.
Each dispatcher has its own request queue, which is monitored every three seconds by the dispatcher.
Oracle Shared Server required Oracle Net Service even if the client and shared server processes reside on the same machine.
第12题:
The PMON process registers the request in the response queue.
A shared sever places the process request in the response queue.
A request within the request queue is processed by an idle shared server process.
A dispatcher assigns a request from the request queue to and idle shared server process.
第13题:
Servlet A forwarded a request to servlet B using the forward method of RequestDispatcher. What attributein B’s request object contains the URI of the original request received by servlet A?()
第14题:
写入和读取cookie的方法是()
第15题:
On the Company wireless LAN, A client is searching for an access point (AP). What is the correct process order that this Company client and access point goes through in order to create a connection?()
第16题:
Given a Filter class definition with this method: 21.public void doFilter(ServletRequest request, 22.ServletResponse response, 23.FilterChain chain) 24.throws ServletException, IOException { 25.// insert code here26. } Which should you insert at line 25 to properly invoke the next filter in the chain,or the target servlet if thereare no more filters?()
第17题:
The Oracle Shared Server architecture reduces memory usage by reducing the number of server processes required. To process a request for a server process, the following tasks are performed: 1.A shared server picks up the request from the request queue and processes the request. 2.The dispatcher retrieves the response from the response queue. 3.A user sends a request to its dispatcher. 4.The dispatcher returns the response to the user. 5.The shared sever places the response on the calling dispatcher’s response queue. 6.The dispatcher places the request into the request queue in the SGA. Put the above task in the order in which they are performed.()
第18题:
Which statement is true regarding Oracle Shared Server architecture?()
第19题:
In a shared server configuration, which two describe the actions that the listener can take to service a client request?()
第20题:
REQUEST_URI
javax.servlet.forward.request_uri
javax.servlet.forward.REQUEST_URI
javax.servlet.request_dispatcher.request_uri
javax.servlet.request_dispatcher.REQUEST_URI
第21题:
association request/response, probe request/response, authentication request/response
association request/response, authentication request/response, probe request/response
probe request/response, authentication request/response, association request/response
probe request/response, association request/response, authentication request/response
None of the other alternatives apply
第22题:
The dispatcher returns the response to the user.
The dispatcher places the request into the request queue.
The shared server places the response in the response queue.
The response is handed off to the next available dispatcher.
A shared server picks up the request from the request queue and processes the request.
第23题:
The listener hands the connection request directly to a dispatcher.
A dedicated server inherits the connection request from the listener.
The client connects to a dedicated server directly using a protocol address provided by the listener.
The application initiating the session spawns a dedicated server process for the connection request.
The listener issues a redirect message to the client, containing the protocol address of a dispatcher. The client then terminates the network session to the listener and establishes a network session to the dispatcher, using the network address provided in the redirect message.
第24题:
chain.forward(request, response);
chain.doFilter(request, response);
request.forward(request, response);
request.doFilter(request, response);