Nancy is building a client-side mobile application in IBM Web Experience Factory and wants to customize common user interface elements. How would she do this?
A. Customize the appropriate values in styles defined within the client_dojo_mobile.uitheme directory.
B. Add a Client-Side CSS builder to the model.
C. Modify the CSS in the model's theme.
D. Add client-side builders to the model and specify preferences in the builder inputs.
正解:A
質問 2:
Biswajit has added a Client Event Declaration builder named GetAccountDetails to his client mobile model and wants to run its associated method elsewhere in the model. Which of the following shows the proper syntax?
A. fireGetAccountDetails
B. clienteventGetAccountDetails
C. ${ClientEventMethod/GetAccountDetails}
D. ${ClientEventFire/GetAccountDetails}
正解:A
質問 3:
Which of the following would be a security and performance best practice for portlets, widgets, and web applications built with IBM Web Experience Factory?
A. Validating all user input data on the client-side only, to keep bad data from getting to the server at all.
B. Validating all user input data on the server-side only, for best protection against malicious users.
C. Validation is not a security or performance concern. HTTP protects against bad data based on HTML input type and databases do not allow malicious data into the field types.
D. Validating all user input data on the client for performance reasons, and again on the server, to protect against malicious users that attempt to bypass client-side validation.
正解:D
質問 4:
Which of the following builders should Gia use to rename a portlet for production?
A. Portlet Configuration builder
B. Portlet Name builder
C. Portlet Information builder
D. Portlet Adapter builder
正解:D
質問 5:
An event can be defined for the Client Event Handler builder with which other builder?
A. Dojo Form Dialog
B. Submit Form Event
C. Client Side Event Declaration
D. Event Declaration
正解:D
質問 6:
For faster iterative development and testing, Johan would like to test his models without continually logging in and logging out of the IBM WebSphere Portal server and loading the correct page. Which of the following steps should he take to accomplish this task?
A. Create a configuration to run the model stand-alone.
B. Create a run configuration to run the models on an embedded test server.
C. Open the model files in a browser after associating the extension .model with the browser.
D. No actions are necessary as models run embedded in the Eclipse or IBM Rational Application Developer IDE by default.
正解:A
質問 7:
Jorge uses the IBM Web Experience Factory WebAppAccess API in his Method builder. He wishes to move this method to a regular Java class and expose it to the model via the Linked Java Object builder. What does he need to do use the WebAppAccess API in his new method?
A. He simply needs to add WebAppAccess as the first argument in the method signature before any other arguments. Web Experience Factory will automatically pass a WebAppAccess reference and he can use the WebAppAccess API in the same manner as the Method builder.
B. He must continue to use the Method builder if he wants to use the WebAppAccess API. He cannot use the WebAppAccess API outside of the Method builder.
C. His new method in the Java class must get a reference to WebAppAccess by calling WebAppAccess.getCurrentWebAppAccess() method.
D. His new Java file must contain a private member variable to hold the WebAppAccess reference. Web Experience Factory will automatically set it and he can use it within any method in the class.
正解:A
質問 8:
Adam is trying to track down a model generation problem with the application that he is developing. What errors should he look at first?
A. Adam should first look for errors in the Eclipse Problems view.
B. Adam should first look in the IBM Web Experience Factory logs in the operating system's default TEMP directory.
C. Adam should first look in the ..\WEB-INF\config\log4j.properties file.
D. Adam should first look in the IBM WebSphere Portal server in its logs directory.
正解:A
質問 9:
Lydia needs to create a set of CRUD services for a database table. The columns that must be retrieved from the database are a subset of those defined for the table. What is the most efficient way for Lydia to create these services?
A. Create a SQL Call builder for each CRUD operation and use a SQL Statement override to explicitly choose those columns needed for the SELECT operation.
B. Use the SQL Data Services builder to generate all of the CRUD operations and explicitly specify the set of columns used for the List and Retrieve operations.
C. Use the SQL Service Definition builder and apply a Data Column Modifier to select only the desired columns.
D. Use the SQL View and Form builder to define the CRUD services and automatically generate the CRUD user interface.
正解:B