Which three actions can be done in the Rich Page Editor? (Choose three.)
A. Edit element properties.
B. Compare different skins using the Split view.
C. Drag from the Palette view to create dojo widgets.
D. Drag from the Palette view to create HTML form tags.
E. Preview the layout with all browsers installed in the local machine.
A developer is invoking WL.Client.invokeProcedure(invocationData, options), using the options object and callback functions that are shown below.
Which two statements describe the outcome of this scenario? (Choose two.)
A. The invocationContext will be returned to the success and failure handlers.
B. The function failure will be invoked on client-side errors, however, not invoked on server- side errors.
C. The data returned by the invoked procedure is saved on response.invocationResult in the case of a successful call.
D. The data returned by the invoked procedure is saved on response.invocationContext in the case of a successful call.
E. The data returned by the invoked procedure is saved on response.invocationResult in the case of an unsuccessful call.
Given the following code in an application's initOptions.js file: What is the expected result when starting the application on a device?
A. The onSuccess function will be invoked every time the application is loaded.
B. The WL.Client.init method will not be executed because WLJSX.bind is not supported in Worklight.
C. The onConnectionFailure function will be invoked, because the connectOnStartup property is set to false.
D. The server related function would not be available until the developer calls the WL.Client.reloadApp function to invoke the serverconnection.
An HTTP adapter is deployed on a Worklight server. Which steps need to be taken by the developer to receive data from the adapter in an application?
A. Create an invocationData object that contains the adapter and procedure names and send it through the WL.Server.invokeProcedureAPI with the onSuccess and onFailure callbacks.
B. Create an invocationData object that contains the adapter and procedure names and send it through the WL.Client.invokeProcedureAPI with the onSuccess and onTimeout callbacks.
C. Create an invocationData object that contains the adapter and procedure names and send it through the WL.Client.invokeProcedureAPI with the onSuccess and onFailure callbacks.
D. Create an invocationData object that contains the backend URL and procedure name and send it through theWL.Client.invokeProcedure API with the onSuccess and onTimeout callbacks.
A developer wants to write a push notification application where the message will be sent to a specific subscriber on a specific device. Which API should be used?
A. WL.Server.notifyAllDevices(userSubscription, options)
B. WL.Client.notifyDevice(userSubscription, device, options)
C. WL.Server.notifyDevice(userSubscription, device, options)
D. WL.Server.notifyDeviceSubscription(deviceSubscription, options)
A Worklight application does not need to connect to a server on startup. However, when previewing the application on the device emulator, it is throwing a server connection error on start up. What is the consequence if the connection error is resolved using the WL.Client.init({connectOnStartup:false}) API to disable the connection to the server on application startup?
A. The application will not be able to subsequently connect to the server.
B. Server features other than the Remote Disable or Direct Update will be disabled.
C. Any server features the application uses will only be available when it connects to the server.
D. There will be no potential consequences as the runtime will safely disable server connectivity errors.
What are the components of a Cordova plug-in?
A. A native class implementing the required functionality: It can be called directly from application's JavaScript
B. A native class implementing the required functionality and a JavaScript wrapper for it: The wrapper's functions can be called from JavaScript.
C. A native class implementing the required functionality, a JavaScript wrapper for it and a declaration in the application-descriptor.xml file
D. A JavaScript wrapper only ; Native classes are already provided by Worklight.
The difference between the Authenticator and Login modules is:
A. Authenticator is a server side entity used to collect and validate credentials. Login module is a server side entity used to create user identity
B. Authenticator is a server side entity used to collect credentials and create user identity. Login module is a server side entity used to validate credentials
C. Authenticator is a server side entity used to collect credentials. Login module is a server side entity used to validate credentials and create user identity
D. Authenticator is a client side entity that performs basic credentials validation. Login module is a server side entity which performs deep credentials validation
How does an adapter present data back to the application?
A. SOAP
B. JMS
C. JSON
D. RMI
How can a developer specify which adapter procedures will be protected by an authentication realm?
A. Once the authentication realm is specified in adapter's XML file, all of the adapter's procedures are protected by it
B. The developer doesn't need to specify it. Authentication credentials should be added on the client side when using WL.Client.invokeProcedure
C. The developer should add a requiresAuthentication="true" property to the procedure definition in adapter's XML
D. An authentication realm does not protect adapter procedures. Protection is for applications only