1.
You need to develop a chat application, which allows the display of emoticons and images together with text messages. How should you configure a WebSocket endpoints to receive both text and binary messages?
2.
Which interface should you implement if you want to be alerted to the lifecycle events surrounding your task being executed by a ManagedExecutorService?
3.
Given the code fragment: Which URL triggers the invocation of the getEmployee () method?
4.
You have been asked to implement internationalization in your JSF web application. Where do you configure the supported locales?
5.
Which code snippet prints the exception error message as part of the page output?
6.
How do you specify a default error page in your web.xml file?
7.
Given: How often does the submitted task run?
8.
Given: What code needs to be added to line 1 for MyMapper bean instances to be correctly passivated?
9.
Given: If an exception is thrown inside the if block, what effect will it have on the transaction?
10.
Given the code fragments: What code should you add to the body of the updateEmployee method in order to save pending changes to the database?