Java EE's support for WS-Security includes handling which two types of security credentials? (Choose two.)
A. X.509 certificates
B. SAML tokens
C. OAuth Bearer tokens
D. Two-factor authentication tokens
Given the code fragment from a Facelet page: On Line 1, you ae asked to insert a search box that displays the text "Search Here" via a placeholder. Assume searchMB is a valid Managed Bean.
Which two options enable you to create a search box with a placeholder attribute on Line 1? (Choose two.)
A.
B.
C.
D.
E.
Given the code fragment:
Which method should be used on line 3 to enable default validation mechanism?
A. u.setProperty(String, Object)
B. u.setProperty(Schema)
C. u.setEventHandler(ValidationEventHandler)
D. u.setAdapter(XmlAdapter)
How do you specify a default error page in your web.xml file?
A.
B.
C.
D.
Given the code fragment:
And
Which two steps, when performed independently, enable the index.xhtml page to print the following text: The Id is 12345? (Choose two.)
A. Replace line 2 with: @Inject public void setAcc(Account acc)
B. Replace line 3 with: @Inject public Account getAcc()
C. Replace line 1 with: @Inject private Account acc;
D. Replace line 3 with: public @Inject Account getAcc()
E. Replace line 1 with: private @Inject Account acc;
F. Replace line 2 with: public void setAcc(@Inject Account acc)
Given:
How often does the submitted task run?
A. need more details to determine
B. once
C. as many times as you like
D. based on a schedule
Given:
What code needs to be added to line 1 for MyMapper bean instances to be correctly passivated?
A. @Stateless @PassivationCapable
B. @Stateless
C. @Stateful @PassivationCapable
D. @Stateful
Which URL represents an invalid approach to pass a parameter to a REST resource?
A.
B.
C.
D.
Given:
If an exception is thrown inside the if block, what effect will it have on the transaction?
A. The transaction will be committed.
B. The transaction will be suspended.
C. The transaction will be rolled back.
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?
A. entityManager.merge(emp);
B. Context. Ctx = new InitialContext(); UserTransaction utx = (UserTransaction)ctx.lookup("java:comp/UserTransaction"); utx.begin(); entityManager.merge(emp); utx.commit();
C. entityManager.lock(emp); EntityManager.merge(emp);
D. entityManager.getTransaction().begin(); entityManager.merge(emp); entityManager.getTransaction().commit();
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.