Chris wants to do performance tuning in his mobile theme. What would be the first step he should take to achieve this task?
A. Apply caching rules to the HTTP server.
B. Use a third-party minification tool to compress the JavaScript files.
C. Change dynacache settings.
D. Configure cache manifest file.
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. WebClipping Portlet International Edition
B. IntegrationPortlet
C. WebClipping Portlet
D. IntegrationPortlet_jsEnabled
John is developing a portlet that uses the portlet client model API to manipulate a user's profile on the client side. How can he get the object of the PortletWindow that represents the portlet on the client side?
A. new ibm.portal.portlet.PortletWindow("<%=portletWindowID%>")
B. new ibm.portal.portlet.PortletWindow()
C. this.getPortletWindow()
D. this.getPortletWindow("<%=portletWindowID%>")
The javax.portlet.GenericPortlet abstract class provides default functionality and convenience methods for handling portlet requests. It provides a default implementation for which interfaces from the javax.portlet package?
A. EventPortlet, Portlet, PortletConfig, PortletContext
B. Portlet, PortletConfig, PortletPreferences, PortletSession
C. EventPortlet, Portlet, PortletConfig, ResourceServingPortlet
D. EventPortlet, Portlet, PortletPreferences, PortletSession
The following section of a portlet deployment descriptor defines the cache setting for a portlet:
What is the meaning of this cache definition?
A. The content should be cached for 300 seconds and must not be shared across users.
B. The content should be cached for 300 milliseconds and must not be shared across users.
C. The content should be cached for 300 seconds and can be shared across users.
D. The content should be cached for 300 milliseconds and can be shared across users.
Which one of the following statements is valid regarding credential objects?
A. Credential objects are serializable.
B. To create a slot for storing active credentials, set the active parameter of the CredentialVaultService.createSlot method to true.
C. Passive credential objects hide the credential's secret from the portlet.
D. Portlets that use active credential objects need to extract the secret from the credential to authenticate with the backend.
Sanjeev wants to add a Help mode to his iWidget. At a minimum, what changes will he need to make to his iWidget definition XML so that IBM WebSphere Portal will enable a Help option for it?
A. Add an iw:content element with a mode attribute of 'help' in the iw:widget element.
B. Add 'help' to the supportedModes attribute of the iw:widget element. Add an iw:content element with a mode attribute of 'help' in the iw:widgetelement.
C. Add 'help' to the supportedModes attribute of the iw:widget element. Add an iw:content element with a mode attribute of 'help' in the iw:widgetelement. Add an 'onhelp' Javascript method.
D. No change needs to be made. All iWidgets in WebSphere Portal already have a Help mode.
Steve wants to hide a menu item in the action menu. This menu item may be needed for later use. What is the best way to accomplish this?
A. Declare the menu item as not visible in the server-side feed. Declare the menu item as visible in the client-side code, and then stop and restartthe custom theme application.
B. Declare the menu item as visible in the server-side feed then override in the client-side's visibilityFn.
C. Use the IBM WebSphere Integrated Solutions console to edit the Dynamic Content Spot to update the menu definition and restart the customtheme application.
D. Update the shelfActions.json using the WebDAV located inside the menuDefinitions folder and then register the changes inside the theme.js filelocated inside the js folder.
Carl is trying to create a theme based on a modularized IBM WebSphere Portal theme. He is ready for deployment, but is unsure of the structure he needs to use to accomplish this. What would be the proper deployment structure for this theme?
A. Create an ZIP file that contains one WAR file containing the dynamic content of the theme and one JAR file containing a .content filereferencing the static content.
B. Create a custom version of the dynamic content from the modularized theme as a new EAR file and a custom version of the static content bycreating a folder in the file store for it.
C. Create a WAR file that contains an ZIP file containing an EAR file that includes both static and dynamic content.
D. Create a folder for the theme in the file store, and create a WAR file containing an exact copy of this theme. All associations between static anddynamic content will be made once both are associated by sharing similar context roots.
When writing a custom portlet service, what interface must be implemented to make use of the portlet service life-cycle methods?
A. com.ibm.portal.portlet.service.spi.PortletServiceRegistryService
B. com.ibm.portal.portlet.service.spi.PortletService
C. com.ibm.portal.portlet.service.spi.PortletServiceLifeCycle
D. com.ibm.portal.portlet.service.spi.PortletServiceProvider