Create an HttpSessionAttributeListener class and implement the attributeDeleted method and log the attribute name using the getName method on the event object.
Create an HttpSessionAttributeListener class and implement the attributeRemoved method and log the attribute name using the getName method on the event object.
Create an SessionAttributeListener class and implement the attributeRemoved method and log the attribute name using the getAttributeName method on the event object.
Create an SessionAttributeListener class and implement the attributeDeleted method and log the attribute name using the getAttributeName method on the event object.
第1题:
You have a use case in your web application that adds several session-scoped attributes. At the end of theuse case, one of these objects, the manager attribute, is removed and then it needs to decide which of theother session-scoped attributes to remove. How can this goal be accomplished?()
第2题:
For which three events can web application event listeners be registered?()
第3题:
Which the statement is true about web container session management()?
第4题:
A customer has a critical, performance-sensitive web application that connects to a multimode Oracle RAC database. Which feature of WebLogic can provide signification benefit?()
第5题:
Examine the details of the Top 5 Timed Events in the following Automatic Workloads Repository (AWR)report:What are three possible causes for the latch-related wait events?()
第6题:
by setting the SQL_TRACE parameter to FALSE in the parameter file
by using DBMS_MONITOR.SESSION_TRACE_DISABLE to disable the tracing for the user session
by setting the SQL_TRACE parameter to FALSE by using the ALTER SYSTEM command in the user session
by setting the SQL_TRACE parameter to FALSE by using the ALTER SESSION command in the user session
第7题:
Add Session-Timeout attribute with value equal to the session lifetime
Add Termination-Action attribute with value equal 1
VLAN
Open port
第8题:
Access to session-scoped attributes is guaranteed to be thread-safe by the web container.
To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method.
If the web application uses HTTPS, then the web container may use the data on the HTTPS request stream to identify the client.
The JSESSIONID cookie is stored permanently on the client so that a user may return to the web application and the web container will rejoin that session.
第9题:
The object of the manager attribute should implement the HttpSessionBindingListener and it should call the removeAttribute method on the appropriate session attributes.
The object of the manager attribute should implement the HttpSessionListener and it should call the removeAttribute method on the appropriate session attributes.
The object of the manager attribute should implement the HttpSessionBindingListener and it should call the deleteAttribute method on the appropriate session attributes.
The object of the manager attribute should implement the HttpSessionListener and it should call the deleteAttribute method on the appropriate session attributes.
第10题:
View Helper
Front Controller
Composite View
Intercepting Filter
Business Delegate
Chain of Responsibility
第11题:
Only one application server per resource group can be monitored.
Process monitoring is part of RSCT and requires no special scripts.
Any application can be monitored as long as it has an application server.
Having all application servers in one resource group improves recovery time.
第12题:
Create an HttpSessionAttributeListener class and implement the attributeDeleted method and log the attribute name using the getName method on the event object.
Create an HttpSessionAttributeListener class and implement the attributeRemoved method and log the attribute name using the getName method on the event object.
Create an SessionAttributeListener class and implement the attributeRemoved method and log the attribute name using the getAttributeName method on the event object.
Create an SessionAttributeListener class and implement the attributeDeleted method and log the attribute name using the getAttributeName method on the event object.
第13题:
第14题:
Your web application uses a simple architecture in which servlets handle requests and then forward to aJSP using a request dispatcher. You need to pass information calculated in the servlet to the JSP for view generation.This information must NOT be accessible to any other servlet,JSP or session in the webapp. Which two techniques can you use to accomplish this goal?()
第15题:
A customer has a critical, performance-sensitive web application that connects to a multinode Oracle RAC database. Which feature of WebLogic can provide significant performance benefit?()
第16题:
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application uses Session objects. You are modifying the application to run on a Web farm. You need to ensure that the application can access the Session objects from all the servers in the Web farm. You also need to ensure that when any server in the Web farm restarts or stops responding, the Session objects are not lost. What should you do?()
第17题:
session.removeAll(USE_CASE_ATTRS);
for ( String attr : USE_CASE_ATTRS ) {session.remove(attr);}
for ( String attr : USE_CASE_ATTRS ) {session.removeAttribute(attr);}
for ( String attr : USE_CASE_ATTRS ) {session.deleteAttribute(attr);}
session.deleteAllAttributes(USE_CASE_ATTRS);
第18题:
The Web Session Affinity feature of Active GridLink for RAC
WebLogic Clustering
The Transaction Affinity feature of Active GridLink for RAC
Coherence*Web Session Replication
第19题:
Clear the Index this attribute in the Active Directory option for each attribute that is added by the application.
Clear the Attribute is active option for each attribute that is added by the application.
Clear the Replicate this attribute to the Global Catalog option for each attribute that is added by the application.
Clear the Allow this attribute to be shown in advanced view option for each attribute that is added by the application.
第20题:
Use the InProc Session Management mode to store session data in the ASP.NET worker process.
Use the SQLServer Session Management mode to store session data in a common Microsoft SQL Server 2005 database.
Use the SQLServer Session Management mode to store session data in an individual database for each Web server in the Web farm.
Use the StateServer Session Management mode to store session data in a common State Server process on a Web server in the Web farm.
第21题:
when a session is created
after a servlet is destroyed
when a session has timed out
when a cookie has been created
when a servlet has forwarded a request
when a session attribute value is changed
第22题:
Add attributes to the session object.
Add attributes on the request object.
Add parameters to the request object.
Use the pageContext object to add request attributes.
Add parameters to the JSP’s URL when generating the request dispatcher.
第23题:
View Helper
Front Controller
Composite View
Intercepting Filter
Business Delegate
第24题:
The Web Session Affinity feature of Active GridLink for RAC
WebLogic Clustering
The Transaction Affinity feature of Active GridLink for RAC
Coherence*Web Session Replication