MegaCorp is working on integrating one of their applications existing in non-IBM WebSphere Portal environments into WebSphere Portal. Which of the following options should they use for this purpose?
A. IntegrationPortlet
B. WebClipping Portlet
C. IntegrationPortlet_jsEnabled
D. WebClipping Portlet International Edition
正解:B
質問 2:
Hershel wants to programmatically check if specific users have access to his company's new portlet application, in order to show a message in another portlet asking them to purchase a subscription. He is trying to do so with the least amount of performance overhead. What would be the best way for Hershel to accomplish this?
A. He should use AccessControlRuntimeModel or AccessControlGlobalRuntimeModel to verify explicit role assignments.
B. He should use the com.ibm.portal.ac.UserRoles interface to verify explicit role assignments.
C. He should read role assignments using the com.ibm.portal.ac.RoleData interface and ensure portlet caching is enabled.
D. He should use the com.ibm.portal.ac.RoleData interface to verify explicit role assignments.
正解:A
質問 3:
Bill is developing a mail portlet. One of the requirements of the mail portlet is that it should prompt the user for a user name and password on the first access, then store that information in the credential vault. After that, the mail portlet should read the credential from the credential vault and use it for logging in to the external application. Which type of credential slot should Bill use?
A. Portlet private slot
B. Administrative slot
C. Shared user slot
D. System slot
正解:A
質問 4:
Evan needs to share action URL parameters used in a portlet with another portlet. In the binding section of the WSDL files used for specifying a portlet's participation with the property broker, an action URL parameter can be bound to several scopes. Which one of the following options best describes the scopes that Evan can use to share the action URL parameters using the property broker?
A. Request attribute, Request parameter, or Session attribute
B. Session attribute only
C. Request parameter or Session attribute
D. Page attribute, Request attribute, Request parameter, Session attribute
正解:A
質問 5:
Bill is developing a portlet that uses AJAX to retrieve information from the server. In the serveResource() method first he is setting "AdminName" request attribute and then forwarding control to a JSP for generating markup. Using best practices, how should he print the "AdminName" attribute inside the JSP?
A. <%=renderRequest.getAttribute("AdminName")%>
B. ${requestScope.AdminName}
C. ${portalRequest.AdminName}
D. <%=resourceRequest.getAttribute("AdminName")%>
正解:B
質問 6:
The XYZ company has a custom portlet that provides access to data from the company's mainframe. Twice a day, the mainframe performs a batch process to update the data. During the batch process, the portlet cannot access the data. Which one of the following options allows Sara to hide the portlet during the batch processing times?
A. Use the Personalization editor to create a portlet visibility rule and to assign the rule to the portlet.
B. Use the Policy editor to create a portlet availability policy and to assign the policy to the portlet.
C. Use the Policy editor to create a portlet availability policy, then use the Page Layout editor to assign the policy to the portlet.
D. Use the Personalization editor to create a portlet visibility rule, then use the Page Layout editor to assign the rule to the portlet.
正解:D



0 お客様のコメント