Q1. When handling a JSF request, your application code decided to redirect the call to another URL by using HTTP redirect. Which action should you take to correctly complete the handling of the JSF life cycle?
A.Set the immediate=''true'' attribute on the command button that was used to perform this call.
B. Invoke the dispatch() method on the ExternalContext object.
C. Invoke the setCurrentPhaseId(RENDER_RESPONSE) method on the FacesContext object.
D. Invoke the responseComplete() method on the FacesContext object.
Correct Answer: C
Q2. What is true about Message-Driven Beans (MDBs)?
A.MDBs can participate in transactions.
B. MDBs are invoked synchronously.
C. Each MDBs can process messages only from a single client.
D. MDBs retain data caches between client calls.
Correct Answer: A
$ 39
Reviews
There are no reviews yet.