What are two consequences of using the Composite View pattern?
A. Improves performance
B. Avoids duplicate content
C. Forces a whole-part dependency
D. Allows tables to be reused in multiple locations
E. Restricts all sub views to have a consistent view technology
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
100% Real QandAs | 100% Real Pass
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?
A. The presentation tier is relying on validation logic in the business tier.
B. The browser is caching out-of-date versions of the JSF components.
C. The business processes are not rigorously encapsulated in the session beans.
D. The new session beans have been deployed incorrectly, and proper deployment will resolve the problem.
A company wants to design an internal website for the purpose of managing its numerous social events. The site will not have heavy traffic, but will require state to be persisted in a database. You have been tasked to complete this action item in your spare time.
Which two Java EE-based approaches are best suited for quick development?
A. Use JPA in the web tier only.
B. Use message-driven beans to manage the posting of events.
C. Use your domain model components as JavaServer Faces (JSF) managed beans.
D. Use an Enterprise javaBeans (EJB) container to service-inject the domain model and support a JPA deployment.
You are the architect of a JEE-based product that customers can configure to meet their own security requirements. You want to enforce basic without sacrificing customers ability to customize the product.
Which is the best method to support both requirements?
A. Define base roles and users declaratively
B. Define base roles and users programmatically
C. Build a custom security service to handle authorization
D. Customize the JRE sandbox model by using local variables
A business application that runs in an Enterprise JavaBeans (EJB) container must communicate with a transactional third-party service. The communication technology must allow changing service providers without changing the application's business model.
Which technology would meet these requirements?
A. Java Message Service
B. Remote Method Invocation
C. Simple Object Access Protocol
D. Java Connector Architecture
E. Java Business Integration
You are the architect of an application that reads from and writes to multiple systems. The application must participate in an existing transaction to update a database using JDBC, and also invoke a transactional method on a remote system as part of the same transaction. Which two technologies would you suggest, to access remote system, for this application?
A. Java Connector Architecture (JCA)
B. java Message Service (JMS)
C. Remote Method Invocation (RMI)
D. Simple Object Access Protocol (SOAP)
A company that sells avatar skins tor virtual reality environments has a static website for advertising their wares. The website was built using What You See Is What You Get (WYSIWYG) html editor and also contains a lot of JavaScript. The company now wants to add server side processing capabilities developing a shopping application, the company is considering using JavaServer Faces (JSF)
Which statement is true?
A. The JavaScrip code has to be rewritten to conform to JSF standards.
B. JSF tags cannot be integrated into the HTML generated by WYSIWYG editors. 100% Real QandAs | 100% Real Pass
C. The web pages cannot be previewed accurately with a generic WYSIWYG HIML editor.
D. The web pages must be converted into Face lets.
Which two are objectives of the Abstract Factory pattern?
A. To create whole-part hierarchies
B. To create families of related objects
C. To enforce dependencies between concrete classes
D. To specify the types of objects to create by using a sample instance
E. To separate the construction of a complex object from its representation 100% Real QandAs | 100% Real Pass
StockTeller is a Java-based application designed to retrieve the current market for a portfolio of publicly listed stocks. You have been tasked to design a bolt on module for StockTeller called EBroker, a Java E- based online application that needs to asynchronously communicate with StockTeller to retrieve market prices for securities in a secure manner.
Which web service technology would you choose to integrate StockTeller into the EBroker application?
A. JAX-WS using HTTP
B. JAX-WS using HTTPS
C. JAX-RPC using HTTP
D. JAX-RS using HTTPS
You are integrating with a single legacy Enterprise Information System. You are interested in the transaction management capabilities of Java Connector Architecture. This new system needs the capability to invoke multiple operations against this single legacy system. these operations succeeded together or fail together as a group.
To which minimum level of transaction management do you set your resource adapter?
A. No transaction
B. Local transaction 100% Real QandAs | 100% Real Pass
C. Distributed transaction
D. Container-managed transaction