[Free] 2017(Aug) CollectDumps Testking Oracle 1z0-807 Dumps with VCE and PDF 31-40

CollectDumps 2017 Aug Oracle Official New Released 1z0-807
100% Free Download! 100% Pass Guaranteed!
http://www.CollectDumps.com/1z0-807.html

Java EE 6 Enterprise Architect Certified Master Exam

Question No: 31

You are the architect for a patient management system with an HTMLUI. Currently, it is used by ward nurses who access the system using dockable tablet computers. The application uses the HttpSession object to store information.

In phase two of the implementation, nurses will also have access through smart phones.

These phones will use a native client rather than HTML, and will access the same business logic using a Web service.

Which two are optimal methods to manage conversational state in the new version of the system?

  1. The HTML UI and native clients both use HttpSession objects.

  2. The HTML UI and native clients both use stateful session beans.

  3. The HTML UI and native clients both use stateless session beans.

  4. The HTML UI uses an HttpSession object, native clients create a session management object.

  5. The HTML UI and native clients both use singleton beans.

Answer: B,D

Question No: 32

Which two statements are true about RESTful web services?

  1. They can be both stateful and stateless.

  2. They support the use of AJAX in web applications.

  3. They are often similar than their Simple Object Access protocol (SOAP) equivalents.

  4. They are independent of the transport protocol.

  5. They support Remote Procedure Call (RPC) and message-Oriented Middleware (MOM) integration styles.

Answer: B,C

Question No: 33

Which two statements apply to unsigned applets?

  1. They can access the client file system.

  2. They can connect to third-party servers.

  3. They can connect to the originating host.

  4. They can invoke public methods of applets on a page.

  5. They can load native libraries.

Answer: C,D

Question No: 34

You are the architect of a web application that uses javaServer Faces (JSF) as a presentation tier for business processes coded as stateless session beans. When you add new code to the stateless session beans to address new accounting requirements, without changing the interface, you discover that the new business processes are being ignored by some of the JSF components.

What might be the cause of this problem?

  1. The presentation tier is relying on validation logic in the business tier.

  2. The browser is caching out-of-date versions of the JSF components.

  3. The business processes are not rigorously encapsulated in the session beans.

  4. The new session beans have been deployed incorrectly, and proper deployment will resolve the problem.

Answer: C

Question No: 35

Your company uses a payroll application that was developed using Java technologies. The company has acquired another company and plans to integrate its payroll process in existing application. You have been asked to implement this integration. You observe that the business logic adopted to calculate the payroll is different in both companies.

Which design pattern would be most appropriate to use in this integration?

  1. Strategy

  2. Payload Extractor

  3. Fly Weight

  4. Composite

  5. Service Locator

Answer: A

Question No: 36

Which two are significant advantages of developing web applications with JavaServer Faces (JSF)?

  1. JSF pages can be previewed outside the web container.

  2. Backing beans can be unit tested outside the web container.

  3. Client-side validation mechanisms are automatically generated.

  4. JSF pages can be integrated with AJAX.

Answer: C,D

Explanation: D: JSF is often used together with Ajax, a Rich Internet application technology.

Because JSF supports multiple output formats, Ajax-enabled components can easily be added to enrich JSF-based user interfaces. The JSF 2.0 specification provides built in support for Ajax by standardizing the Ajax request lifecycle, and providing simple development interfaces to Ajax events, allowing any event triggered by the client to go through proper validation, conversion, and finally method invocation, before returning the result to the browser via an XML DOM update.

Note:

  • JavaServer Faces technology is a user interface framework for building web applications.

  • The following features support the GUI components:

/ Input validation

/ Event handling

/ Data conversion between model objects and components

/ Managed model object creation

/ Page navigation configuration

All this functionality is available using standard Java APIs and XML-based configuration files.

Question No: 37

Which two statements are true about the timer service of a business component container?

  1. Timed notifications for all types of session beans can be scheduled by using this service.

  2. When the server is shut down, the timer is persisted automatically and becomes active again when the server is restarted.

  3. Each instance of message driven beans has unique timers.

  4. When stateful session bean instance is removed, the container detaches the timers associated with the instance and allocates them to the new instance.

  5. When a transaction is rolled hark, the timer creation within the transaction is also rolled back.

Answer: B,E

Question No: 38

Which three actions restrict the ability of a web application to scale in response to load as additional computing resources are made available to it?

  1. Implementing the Singleton pattern in the web tier

  2. Implementing core business logic in the web tier

  3. Implementing core business logic using stateless session beans

  4. Storing users#39; session state in a database

  5. Maintaining users#39; session state by using stateful session beans

Answer: A,B,E

Question No: 39

Which type of application would benefit from using the Singleton pattern?

  1. An application that interacts with external systems in serial fashion.

  2. An application that interacts with external systems in parallel fashion.

  3. A clustered application that can support 200 concurrent users.

  4. An application that requires remote monitoring capabilities

Answer: A

Question No: 40

You are conducting a security audit for a web application that uses URL rewriting. The application does not allow for user-generated content and is accessible only via secured

VPN.

Which two security threats would you prioritize in your audit?

  1. SQL injection

  2. Cross-site scripting

  3. Parameter-site manipulating

  4. Session hijacking

  5. Denial-of-service attacks

Answer: C,D

100% Free Download!
Download Free Demo:1z0-807 Demo PDF
100% Pass Guaranteed!
Download 2017 CollectDumps 1z0-807 Full Exam PDF and VCE

CollectDumps ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 CollectDumps IT Certification PDF and VCE