An application developer needs to add Web 2.0 features to the Consumer Direct store model. This involves registering events that respond to AJAX calls. Which dojo function must be used to register an event and the JavaScript function that triggers it?
A. dojo.subscribe(topic, context, method)
B. dojo.listen(topic, context, method)
C. dojo.connect(topic, context, method)
D. dojo.connectPublisher(topic, object, event)
正解:D
質問 2:
An application developer notices that the agent_data_location does not contain copied data. What behavior can the application developer expect during a silent installation using the IBM Installation Manager? The IBM Installation Manager:
A. copies the data to the agent_data_location.
B. fails to execute.
C. fails to detect previous Rational Application Developer installations.
D. creates a new agent_data_location.
正解:C
質問 3:
While implementing a new Access Profile for a custom Get service, an application developer is asked to protect this profile so that it is only accessible by the owner. Which method does the application developer need to implement to enforce this?
A. AuthorizationServiceFactory.canExecute
B. AuthorizationServiceFactory.checkIsAllowed
C. Protectable.fulfills
D. Protectable.getOwner
正解:C
質問 4:
An application developer is asked to retrieve tax details from an external tax service provider. Which invocation binding must be used by the Web services client?
A. JMSWebServiceInvocationBindingImpl
B. JCAInvocationBindingImpl
C. JAXWebServiceInvocationBindingImpl
D. LocalEJBInvocationBindingImpl
正解:B
質問 5:
Within the Social Commerce architecture, how does the social content widget of the browser communicate with the WebSphere sMash application via the REST API?
A. HTTP + XML
B. HTTP + JSON
C. HTTP
D. HTTP + Atom
正解:B
質問 6:
What file does the application developer need to examine first to confirm the successful installation of WebSphere Commerce Developer?
A. SystemOut.log
B. wc-server.xml
C. setup.log
D. setdbtype.log
正解:C
質問 7:
An application developer needs to define the store level action mapping to specify a target JSP file which will format Atom feeds for WebSphere Commerce Web services.
Where:
ShowCatalogGroupDataAreaType is the name of the SDO for the noun. SerializeCatalogGroupMadisonsAtom.jsp is the feed formatting JSP file.
What should be the action mapping in the struts-extension.xml file?
A.
B.
C.
D.
正解:B
質問 8:
In order to package and deploy custom assets, the application developer needs to create the appropriate JAR file. Which assets belong to the JAR file?
A. JSP files
B. Data beans
C. Property files
D. Controller commands
E. SAR files
F. Utility classes
正解:B,D,F
質問 9:
An application developer needs to enable the starter store enhancements. Which of the following commands must the application developer use with the WebSphere Commerce Developer product?
A. config_ant.bat -buildfile WC_installdir/components/common/xml/enableFeature.xml -
DinstanceName=
-DdbUserPassword=db_password [-DdbaPassword=dba_password]
B. enableFeature.bat -DinstanceName=
DdbaPassword=dba_password]
C. enableFeature.bat -DfeatureName=store-enhancements [-DdbaPassword=dba_password]
D. config_ant.bat -buildfile WC_installdir/components/common/xml/enableFeature.xml -
DinstanceName=
-DfeatureName=store-enhancements -DdbUserPassword=db_password [-
DdbaPassword=dba_password]
正解:C