Download Oracle.1z0-900.TestKing.2019-07-24.65q.tqb

Download Exam

File Info

Exam Java EE 7 Application Developer
Number 1z0-900
File Name Oracle.1z0-900.TestKing.2019-07-24.65q.tqb
Size 2 MB
Posted Jul 24, 2019
Download Oracle.1z0-900.TestKing.2019-07-24.65q.tqb

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

Question 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?


  1. Create two @onMessage methods in the same endpoint with appropriate parameter types.
  2. Define the @onMessage methods in your endpoint with Object as parameter and check the actual type in your code.
  3. You can achieve this only by creating separate WebSocket endpoints for each message type.
  4. Create two @onMessage methods, each with appropriate decoder attribute in the same endpoint.
Correct answer: D
Explanation:
Reference: https://abhirockzz.gitbooks.io/java-websocket-api-handbook/content/Receiving%20Messages.html
Reference: https://abhirockzz.gitbooks.io/java-websocket-api-handbook/content/Receiving%20Messages.html



Question 2

Which two capabilities are provided by the Java Authentication and Authorization Services (JAAS) API? (Choose two.)


  1. protecting data from unauthorized viewing by using encryption
  2. verifying that a user is allowed to perform an action
  3. ensuring that data is not modified in transit
  4. verifying identity claims from users
Correct answer: BC
Explanation:
Reference: https://docs.oracle.com/javase/8/docs/technotes/guides/security/jaas/JAASRefGuide.html
Reference: https://docs.oracle.com/javase/8/docs/technotes/guides/security/jaas/JAASRefGuide.html



Question 3

Which interface should you implement if you want to be alerted to the lifecycle events surrounding your task being executed by a ManagedExecutorService?


  1. the Runnable Interface
  2. the ManagedExecutorTask interface
  3. the TaskEventListener interface
  4. the ManagedTaskListener interface
Correct answer: D
Explanation:
Reference: https://github.com/javaee/concurrency-ee-spec/blob/master/api/src/main/java/javax/enterprise/concurrent/ManagedExecutorService.java
Reference: https://github.com/javaee/concurrency-ee-spec/blob/master/api/src/main/java/javax/enterprise/concurrent/ManagedExecutorService.java









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files