You have been asked to implement internationalization in your JSF web application.
Where do you configure the supported locales?
in the <f:view> tag of the Facelet page
in the web.xml file
in the faces-config.xml file
in the src folder
Correct answer: A
Question 2
Given the code fragment:
Which code can be added to register both of these methods to receive BankEvent notifications only if an instance of BankActivityService is already instantiated in the current context?
@Observes(notifyObserver=IF_EXISTS) on line 3 and line 6
@Observes(during=IN_PROGRESS) on line 1
@Observes(during=AFTER_COMPLETION) on line 1
@Observes(notifyObserver=IF_EXISTS) on line 4 and line 7 before method parameter declaration