Your company requires all its developers to use a well-specified set of exception classes to model several common error conditions, many of the which are specific to its business. These exception classes are centrally maintained and come packaged in a library (a JAR file). The application you are developing needs to report a number of error conditions covered by this library to remote clients.
Which paring of component type and remote access technology enables client applications to use the predefined exceptions as part of their natural programming model?
A. Servlet accessed using HTTP
B. Entity bean accessed using web services
C. Stateless session bean accessed using Remote Method Invocation (RMI)
D. Message-driven bean accessed using Java Message Service (JMS) queue
You are the architect of an existing project. Making changes to one component frequently requires making changes to many other components. Which action would reduce future maintenance costs?
A. Redesign the configuration and deployment.
B. Add an abstraction layer between the servlets and the EJB components.
C. Convert all stateful EJB components to stateless EJB components.
D. Expose the existing EJB components as web services.
MedLabML is a startup firm that moves patient data between different care providers to provide a "single patient view". They use a B2B system to exchange electronic business document with their key suppliers. They are seeking your advice about standards to review for improving their message-level security.
Which standard or API would you recommend they read?
A. SAML 1.1
B. Web Service Interoperability Technology
C. XML Signature
D. SSL
Which statements are true about Java integration technologies?
A. Remote Method Invocation (RMI) helps to connect subsystems in a loosely coupled manner.
B. Java Message Service (JMS) helps in synchronous messaging between Java and non-Java systems.
C. JMS helps to broadcast messages to multiple Java-based receivers.
D. Java Connector Architecture (JCA) helps to integrate with heterogeneous legacy enterprise information systems.
Your CMC wants to move several web based search applications to an AJAX model, hoping to improve user engagement with a browser experience that feels smaller and more responsive.
Which identifies a drawback to consider when adopting an AJAX model to improve user experience?
A. Maintaining current performance could require more hardware.
B. Maintaining accessibility across clients may require more development.
C. Maintaining security within the page could be more difficult.
D. Maintaining page navigability for users would have to be re-evaluated.
E. Maintaining a scalable system could require redesigning applications.
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.
Your company is considering migrating a persistence module, originally implemented as CMP entity beans, to now use JPA.
Which two statements are true?
A. Each CMP entity bean can be mapped to a single JPA entity class.
B. The client code that accesses the CMP entity beans does not have to change.
C. IPA cannot capture all the kinds of relationships supported by CMP entity beans.
D. The resulting IPA persistence module can be used on both the client and the server.
E. The JNDI name of a JPA entity class can be customized to match that of the corresponding CMP entity bean.
F. Remote clients of the CMP entity beans must start using web services to access the JPA entity classes on the server.
Upper management has announced a change in a company's primary hardware supplier for the next year, the timing of this change coincides with key purchases that line of business department has to make in support of its Java EE application upgrade/redesign project.
You are asked to help outline a strategy to preserve the project timeline and keep hardware training costs contained.
Which recommendation will you make?
A. Add new hardware to create a heterogeneous environment.
B. Request another year of sales and support with the existing vendor.
C. Request more time to consider the total cost of change to your project and to modify your budget.
D. Use new hardware on the web tier and redeploy existing hardware to the other tiers.
You are the architect for XYZ bank. XYZ is redesigning their online banking offering and you need to ensure that the new design follows security best practices for the JEE platform.
Select three security best practices for JEE applications.
A. Schedule regular penetration testing.
B. Log all security related application events.
C. Implement an exception-handling strategy.
D. Encrypt data, both on the wire and at rest.
E. Use both programmatic and declarative security.
F. Treat users as untrusted even when authenticated. 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