Online Access Free 1Z0-858 Practice Test
Exam Code: | 1Z0-858 |
Exam Name: | Java Enterprise Edition 5 Web Component Developer Certified Professional Exam |
Certification Provider: | Oracle |
Free Question Number: | 276 |
Posted: | Sep 08, 2025 |
You have created a web application that you license to real estate brokers. The webapp is highly customizable including the email address of the broker, which is placed on the footer of each page. This is configured as a context parameter in the deployment descriptor:
10.
<context-param>
11.
<param-name>footerEmail</param-name>
12.
<param-value>[email protected]</param-value>
13.
</context-param>
Which EL code snippet will insert this context parameter into the footer?
A developer has created a special servlet that is responsible for generating XML content that is sent to a data warehousing subsystem. This subsystem uses HTTP to request these large data files, which are compressed by the servlet to save internal network bandwidth. The developer has received a request from management to create several more of these data warehousing servlets. The developer is about to copy and paste the compression code into each new servlet. Which design pattern can consolidate this compression code to be used by all of the data warehousing servlets?
Which interface must a class implement so that instances of the class are notified after any object is added to a session?
The sl:shoppingList and sl:item tags output a shopping list to the response and are used as follows:
11.
<sl:shoppingList>
12.
<sl:item name="Bread" />
13.
<sl:item name="Milk" />
14.
<sl:item name="Eggs" />
15.
</sl:shoppingList>
The tag handler for sl:shoppingList is ShoppingListTag and the tag handler for sl:item is ItemSimpleTag.
ShoppingListTag extends BodyTagSupport and ItemSimpleTag extends SimpleTagSupport.
Which is true?