Which class do you use to handle an incoming JSON Message as a stream?
A. JsonReader
B. JsonObjectBuilder
C. JsonParser
D. JsonObject
Which two approaches would result in the current date being added to the output of a JSP? (Choose two.)
A. <%= out.printIn(new java.util.Date()) %>
B. <% out.printIn(new java.util.Date()); %>
C. <%= new java.util.Date() %>
D. <% System.out.printIn(new java.util.Date()); %>
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.
Given the code fragment:
When the context root is requested http://host:port/context, how does the container resolve this mapping?
A. thirdServlet handles the request.
B. firstServlet handles the request.
C. The container throws an error at startup.
D. secondServlet handles the request.
Which interface should you implement if you want to be alerted to the lifecycle events surrounding your task being executed by a ManagedExecutorService?
A. the Runnable Interface
B. the ManagedExecutorTask interface
C. the TaskEventListener interface
D. the ManagedTaskListener interface
Given the code fragment: Which URL triggers the invocation of the getEmployee () method?
A.
B.
C.
D.
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.
You have been asked to implement internationalization in your JSF web application. Where do you configure the supported locales?
A. in the
B. in the web.xml file
C. in the faces-config.xml file
D. in the src folder
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?
A. @Observes(notifyObserver=IF_EXISTS) on line 3 and line 6
B. @Observes(during=IN_PROGRESS) on line 1
C. @Observes(during=AFTER_COMPLETION) on line 1
D. @Observes(notifyObserver=IF_EXISTS) on line 4 and line 7 before method parameter declaration
Which code snippet prints the exception error message as part of the page output?
A. <%= exception.message %>
B.
C. <% exception.getMessage(); %>
D. <% System.out.println(e.getMessage()) %>
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-900 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.