1Z0-133 practice question 25 of 25

View the following file except, which configures HTTP session replication: replicated From which file is this except taken?

Full set: 126 questions
Answer options
A: weblogic-application.xml
B: session.xml
C: web.xml
D: config.xml
E: weblogic.xml Correct answer
Correct Answer:
E. weblogic.xml
Explanation

The weblogic.xml file is the WebLogic Server-specific deployment descriptor for a web application (WAR file). It is used to configure features that are not covered by the standard Java EE web.xml descriptor. The element and its child element are proprietary WebLogic Server extensions for defining HTTP session management behavior. Setting to replicated configures in-memory session replication across servers in a cluster. This configuration is placed within the WEB-INF directory of the web application, alongside the web.xml file.

Why Incorrect

A. weblogic-application.xml: This descriptor configures settings for an entire Enterprise Application (EAR), not for the session persistence of a specific web application module within it.
B. session.xml: This is not a standard or recognized deployment descriptor file in either Java EE or WebLogic Server for this purpose.
C. web.xml: This is the standard Java EE web application descriptor. It handles portable configurations like session timeout but does not support vendor-specific features like replication type.
D. config.xml: This is the central configuration file for an entire WebLogic domain, defining servers, clusters, and resources, but not application-specific deployment settings like session persistence.

References

1. Oracle Fusion Middleware

Developing Web Applications

Servlets

and JSPs for Oracle WebLogic Server

12c (12.2.1.4.0)

"weblogic.xml Deployment Descriptor Elements". This document explicitly lists as a primary element of weblogic.xml and details its child elements

including with replicated as a valid value.

2. Oracle Fusion Middleware

Administering Clusters for Oracle WebLogic Server

12c (12.2.1.4.0)

Chapter 6

"Configure HTTP Session State Replication"

Section: "Replication for Servlets and JSPs". This section describes the process and states

"You configure session replication for servlets and JSPs in the weblogic.xml file." It provides an example identical to the one in the question.

Scroll to Top