A client wants to write several portlets for their new website. Each portlet must be labeled and record some trace information whenever it is accessed. The portlets must share common information with each other as well. When discussing best practices options with the client, which of the following would not be recommended?
A. JSPs should be used to separate output and functionality of the portlets.
B. Trace information can be logged to log files.
C. Each portlet can be labeled by its own title bar.
D. Portlets communicate via writing to a common file in the root directory.
正解:D
質問 2:
Roger has been discussing iWidgets with a prospective client and has been highlighting certain aspects of the specification. Which of the following statements is false and thus ill-advised?
A. Overall page management components are provided by the iContext. These include iWidget coordination, page layout and controls, andbackend service interaction.
B. The iDescriptor is a special ManagedItemSet which is always persisted by the iContext.
C. iScope is a mechanism to support encapsulation of an iWidget's assests.
D. Three modes are defined in the iContext Constants (VIEW, EDIT and HELP). An iWidget does not need to support all three modes.
正解:B
質問 3:
Tyson is the sole IBM WebSphere Portal administrator in his company. He has developed a portlet that uses content spots to bind certain portlet markup to users specific to a certain group accessing the portlet itself. What bindings can Tyson create to associate the users with the content spots to be shown?
A. Portlets cannot include dynamic content spots.
B. He can use Personalization Rules based on user and group information, hiding and showing the content spots per each grouping as desired.
C. He can store a personalization rule in the theme that creates a new version of the portlet for each user group automatically on first access,using the PortletClientModel and leveraging the PUMA UserGroup object
D. He can use the ContentPresentationModel to hide and show content spots based on any parameter included in the ContentPresentationResource and change the content spot based on the user's group
正解:B
質問 4:
Matt is developing an interactive AJAX widget that will allow content approvers to review content without leaving their home page. Which IBM Web Content Manager API feature should he use?
A. JSP Tags
B. Web Services
C. REST Services
D. Managed Pages
正解:C
質問 5:
The JSR 286 Portlet Specification PLT.C appendix defines the Cascading Style Sheet classes for a variety of logical units in the markup. It follows the styles defined by the OASIS Web Services for Remote Portlets Technical Committee. What is the prefix used for the name of the CSS classes defined in this appendix?
A. portal- (for example portal-font, portal-form-field, portal-table-body)
B. css- (for example css-font, css-form-field, css-table-body)
C. wsrp- (for example wsrp-font, wsrp-form-field, wsrp-table-body)
D. portlet- (for example portlet-font, portlet-form-field, portlet-table-body)
正解:D
質問 6:
Which of the following statements regarding the Controller model is false?
A. The Controller model enhances the read-only portal model SPI by adding writable aspects.
B. The Content Model Controller allows a developer to modify the content topology and the properties of content nodes, such as pages, labels,and content URLs.
C. A developer can only modify one resource per controller before committing the modifications.
D. A developer must commit the controller to persist the modifications.
正解:C