显示标签为“1Z0-861”的博文。显示所有博文
显示标签为“1Z0-861”的博文。显示所有博文

2014年3月20日星期四

Le dernier examen Oracle 1Z0-868 1Z0-864 1Z0-863 1Z0-862 1Z0-861 gratuit Télécharger

Pass4Test est un bon catalyseur du succès pour les professionnels IT. Beaucoup de gens passer le test Oracle 1Z0-868 1Z0-864 1Z0-863 1Z0-862 1Z0-861 avec l'aide de l'outil formation. Les experts profitent leurs expériences riches et connaissances à faire sortir la Q&A Oracle 1Z0-868 1Z0-864 1Z0-863 1Z0-862 1Z0-861 plus nouvelle qui comprend les exercices de pratiquer et le test simulation. Vous pouvez passer le test Oracle 1Z0-868 1Z0-864 1Z0-863 1Z0-862 1Z0-861 plus facilement avec la Q&A de Pass4Test.

Les experts de Pass4Test profitent de leurs expériences et connaissances à augmenter successivement la qualité des docmentations pour répondre une grande demande des candidats, juste pour que les candidats soient permis à réussir le test Oracle 1Z0-868 1Z0-864 1Z0-863 1Z0-862 1Z0-861 par une seule fois. Vous allez avoir les infos plus proches de test réel à travers d'acheter le produti de Pass4Test. Notre confiance sont venue de la grande couverture et la haute précision de nos Q&As. 100% précision des réponses vous donnent une confiance 100%. Vous n'auriez pas aucun soucis avant de participer le test.

Beaucoup de gens trouvent difficile à passer le test Oracle 1Z0-868 1Z0-864 1Z0-863 1Z0-862 1Z0-861, c'est juste parce que ils n'ont pas bien choisi une bonne Q&A. Vous penserez que le test Oracle 1Z0-868 1Z0-864 1Z0-863 1Z0-862 1Z0-861 n'est pas du tout autant dur que l'imaginer. Le produit de Pass4Test non seulement comprend les Q&As qui sont impressionnées par sa grande couverture des Questions, mais aussi le service en ligne et le service après vendre.

Code d'Examen: 1Z0-868
Nom d'Examen: Oracle (Java Enterprise Edition 5 Enterprise Architect Certified Master Upgrade Exam)
Questions et réponses: 144 Q&As

Code d'Examen: 1Z0-864
Nom d'Examen: Oracle (Java Enterprise Edition 5 Enterprise Architect Certified Master Exam (Step 1 of 3))
Questions et réponses: 238 Q&As

Code d'Examen: 1Z0-863
Nom d'Examen: Oracle (Java Enterprise Edition 5 Web Services Developer Certified Professional Upgrade Exam)
Questions et réponses: 96 Q&As

Code d'Examen: 1Z0-862
Nom d'Examen: Oracle (Java Enterprise Edition 5 Web Services Developer Certified Professional Exam)
Questions et réponses: 183 Q&As

Code d'Examen: 1Z0-861
Nom d'Examen: Oracle (Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade Exam)
Questions et réponses: 152 Q&As

Ajoutez le produit de Pass4Test au panier, vous pouvez participer le test avec une 100% confiance. Bénéficiez du succès de test Oracle 1Z0-868 1Z0-864 1Z0-863 1Z0-862 1Z0-861 par une seule fois, vous n'aurez pas aucune raison à refuser.

La population de la Certification Oracle 1Z0-868 1Z0-864 1Z0-863 1Z0-862 1Z0-861 est très claire dans l'Industrie IT. Pass4Test se contribue à vous aider à réussir le test, de plus, un an de la mise à jour gratuite pendant est gratuite pour vous. Pass4Test sera le catalyseur de la réalisation de votre rêve. Pour le succès demain, Pass4Test est votre von choix. Vous serez le prochain talent de l'Indutrie IT sous l'aide de Pass4Test.

Dans cette société, il y a plein de gens talentueux, surtout les professionnels de l'informatique. Beaucoup de gens IT se battent dans ce domaine pour améliorer l'état de la carrière. Le test 1Z0-868 1Z0-864 1Z0-863 1Z0-862 1Z0-861 est lequel très important dans les tests de Certification Oracle. Pour être qualifié de Oracle, on doit obtenir le passport de test Oracle 1Z0-868 1Z0-864 1Z0-863 1Z0-862 1Z0-861.

1Z0-868 Démo gratuit à télécharger: http://www.pass4test.fr/1Z0-868.html

NO.1 What are two advantages of using encapsulation in a multi-tier architecture? (Choose two.)
A. Business components inherit behavior from the web container.
B. Complex web container behavior can be hidden behind simple interfaces.
C. Business logic can be modified without modifying objects that depend on it.
D. Database records can be accessed directly from the web tier to improve scalability and
performance.
Answer: B,C

certification Oracle   1Z0-868   1Z0-868 examen   1Z0-868 examen

NO.2 Which two statements are true about the Flyweight pattern? (Choose two.)
A. It allows a single instance of a class to virtually represent many instances.
B. When used appropriately it can reduce memory demands on your servers.
C. It allows for many instances of a class to be controlled by a single instance.
D. It allows many tightly related, homogeneous objects to each maintain their own state.
Answer: A,B

Oracle   1Z0-868   certification 1Z0-868   certification 1Z0-868

NO.3 You are architecting a new Internet-deployed application and you want to restrict access to parts of the
system for security purposes. Which three security restrictions can be specified in the deployment
descriptor according to the servlet API specification standards? (Choose three.)
A. on page forwarding
B. on encryption methods
C. based on the role name
D. based on the user name
E. based on the URL pattern
F. based on the HTTP method
Answer: C,E,F

Oracle   certification 1Z0-868   1Z0-868 examen

NO.4 DRAG DROP
Answer:

NO.5 Which Java EE feature helps facilitate migration to SOA?
A. Stateful session beans can be exposed as web services.
B. Stateless session beans can be exposed as web services.
C. Stateful session beans support local and remote interfaces.
D. Stateless session beans support local and remote interfaces.
Answer: B

certification Oracle   certification 1Z0-868   certification 1Z0-868   1Z0-868

NO.6 What describes the design relationship between session beans and entity beans?
A. aggregation
B. separation of concerns
C. common reuse principle
D. Liskov substitution principle
E. interface segregation principle
Answer: B

Oracle examen   1Z0-868   1Z0-868   1Z0-868   certification 1Z0-868

NO.7 You are designing a company e-Commerce site. The site will be hosted on a single powerful server
that has sufficient CPU, memory, storage, and network bandwidth so that clustering is not needed. The
architecture must maintain session state including a shopping cart and recent searches. JSP and JPA
have already been selected as the presentation tier and persistence tier implementations, respectively.
What do you recommend as the most appropriate way to maintain session state in the application?
A. an entity bean
B. stateful session beans
C. the HttpSession object
D. a message-driven bean
Answer: C

Oracle   1Z0-868   1Z0-868   1Z0-868   1Z0-868

NO.8 What are three web service support features in Java EE? (Choose three.)
A. generating a web service from an MDB
B. generating a Java class from a WSDL file
C. associating a Java class with a WSDL file
D. associating a JMS queue with a WSDL file
E. generating a web service from a stateful session bean
F. generating a web service from a stateless session bean
Answer: B,C,F

Oracle   certification 1Z0-868   1Z0-868

NO.9 A company has a legacy system that it is going to use Java EE technology to re-engineer. The legacy
solution consists of active server pages and a relational database. The company is interested in changing
DB vendors in the future and this requirement is key to moving forward.
This is a web-based transactional sales system. The company will keep the relational database schema
because it still meets business requirements and will not require re-engineering. What is
the best solution?
A. JSP, JDBC only
B. JSP, servlets, JDBC only
C. JSF, servlets, JPA, EJB3
D. JSF, servlets, DAO, JDBC
Answer: C

certification Oracle   1Z0-868 examen   1Z0-868

NO.10 A successful web application is used by over two hundred thousand users. Due to this substantial load,
the database is overburdened and fails frequently. All data, including critical user records and temporary
session data, are stored in the database. Because of resource constraints, a new database system
cannot be installed. Which change will reduce the load on the database?
A. create more entity beans to optimize the interaction with the database
B. refactor the web application to use DAOs to communicate with the database
C. refactor the web application to store temporary session data on the web servers
D. add more web servers to the web tier to distribute the load and reduce the number of
transactions on the database
Answer: C

certification Oracle   1Z0-868 examen   certification 1Z0-868

NO.11 A company architected and developed a Java EE application and now they are having problems with
the scalability of the system. The application uses JSPs and servlets deployed to a web container, and
stateless session beans and DAOs deployed to an EJB container. The application's non-functional
requirement for scalability is to support 500 concurrent users during peak hours of operation. The
application can currently support 500 concurrent users, but the response time is 200 percent of what it is
acceptable. You have been hired as an architect and have been assigned to help resolve this problem.
The company's management is concerned with the hardware budgeting. What initial advice would you
give to the company?
A. add another web server
B. start a new project to re-architect the application
C. monitor the application to determine the potential problem areas
D. add more memory and processors to the hardware hosting the EJB container
Answer: C

Oracle   1Z0-868   1Z0-868 examen   1Z0-868

NO.12 Which application would NOT be a good candidate for an EJB-centric implementation of the business
tier?
A. an application that transfers money between accounts
B. a news-oriented web site that receives millions of hits a day
C. an application with business logic that calls third-party web services
D. a small workflow-oriented application to provision and deprovision employee accounts
Answer: B

certification Oracle   certification 1Z0-868   1Z0-868   1Z0-868 examen   1Z0-868 examen

NO.13 A Java EE travel agency application builds flight itineraries and needs to provide runtime
monitoring to external clients. Agency managers need to find out at any given time how many itineraries
have been started but not completed. This information should be made available to managers at runtime
using open-source or commercially available management tools. The instrumentation should be done
with a standard Java EE API. How should you instrument the application?
A. JPA
B. JMX
C. JMS
D. SNMP
Answer: B

Oracle examen   1Z0-868 examen   certification 1Z0-868   1Z0-868

NO.14 Which two characteristics are NOT important factors in the selection of a web application framework
for a large project? (Choose two.)
A. complexity of the framework
B. degree of usage in the industry
C. availability of a unit test framework
D. reusability of model and view components
E. separation of concerns afforded by the framework
F. level of integration with common logging frameworks
Answer: C,F

Oracle examen   1Z0-868 examen   1Z0-868

NO.15 A company is in the business of distributing hard candies. The distribution of these candies is
automated and the system that helps track information about candy distribution is written in Java
technology. The business unit for the company has been asking the IT group to provide a flexible
reporting system to track detailed information. A large amount of data about candy is stored using a DAO
layer, but little is used. What is the best solution for the IT group to implement to provide the most flexibility
for the business unit?
A. refactor the DAOs to include additional static queries to pull information and export a
spreadsheet for the business unit to review
B. implement an ad-hoc query tool exposed using JSF that allows business units to create queries and
produce results in a given format
C. provide a JSP page, which has scriptlets that expose pre-defined queries for the business unit to
execute and display in HTML
D. create a web service that exposes fixed queries invoked by a JSP client that can pull data from the
database and export in a given format
Answer: B

Oracle   certification 1Z0-868   1Z0-868 examen   1Z0-868

NO.16 You are architecting an online ordering application with these requirements:
Users access the system over the Internet using HTML.
An email message is sent to the user confirming the order.
Users must log in and are validated using LDAP.
The product catalog is stored in a relational database.
All orders are logged to the internal fulfillment system.
Orders must not be lost.
Which Java EE technology should be used to send orders to the fulfillment system?
A. JNDI
B. JMS
C. JAX-WS
D. RMI-IIOP
Answer: B

Oracle examen   1Z0-868 examen   certification 1Z0-868

NO.17 You work for a small IT shop. The developers are responsible for deploying production
applications. All of the connection and resource parameters are distributed in the Java source code. Your
IT shop has a limited infrastructure so there have been few issues with pushing production applications.
Your IT shop has been purchased and is now reselling Java products to customers. You now have
dedicated development, testing, staging, and production environments. A new requirement states that
these applications must support rapid deployment to each environment. What is the best solution.?
A. refactor the Java application to use JNDI names and resource references
B. identify a build engineer that has the responsibility of modifying the constant class for each deployment
C. set your connection properties in a constants class to consolidate connection and resource parameters
D. identify the environment parameters for connection and resources and make them readily available to
developers
Answer: A

Oracle examen   1Z0-868 examen   1Z0-868 examen

NO.18 You are architecting a complex multi-tiered web application. Within each tier you have designed layers,
the lowest being the hardware layer and the highest being the application layer. Which statement is true?
A. Generally, a given layer in one tier of this application should be concerned with the technology used in
the same layer of adjacent tiers.
B. To maximize separation of concerns, a given layer in a tier of this application should only have
knowledge of the adjacent layer in that tier.
C. For any given tier, separation of concerns is fulfilled when a given layer in that tier knows or needs to
know little or nothing of the layers below it.
D. If the layers in one tier of the application have been designed to achieve separation of
concerns, then the remaining tiers also achieve separation of concerns by default.
Answer: B

Oracle examen   certification 1Z0-868   1Z0-868   1Z0-868 examen   certification 1Z0-868

NO.19 You are asked to architect an SOA solution that leverages Java web services. The architecture needs to
be flexible and allow for the SOAP 1.1, SOAP 1.2, and REST implementations. Which Java EE
technology should you use?
A. JAXP
B. JAXB
C. JAX-WS
D. JAX-RPC
Answer: C

certification Oracle   1Z0-868   1Z0-868   1Z0-868

NO.20 An existing web application uses JSPs to communicate directly to a database. Small changes to the
database result in business logic changes to many JSPs. The single JSP developer, who was also the
graphic artist, has just quit the project. In addition, the company needs to add a web services-based
interface to the application. You have been hired as the architect to refactor the web application. Which
two changes should you make to accomplish this? (Choose two.)
A. introduce a separate presentation layer with different views for HTML and XML
B. add an abstraction layer between the database and JSPs to encapsulate business logic
C. develop a DAO layer to encapsulate the database access that can be used by all the JSPs
D. add new JSPs for the XML and use <jsp:include> to incorporate the existing business logic
Answer: A,B

Oracle examen   1Z0-868 examen   1Z0-868   certification 1Z0-868

2013年11月14日星期四

Le dernier examen Oracle 1Z0-861 gratuit Télécharger

Vous choisissez l'aide de Pass4Test, Pass4Test fait tous effort à vous aider à réussir le test. De plus, la mise à jour de Q&A pendant un an est gratuite pour vous. Vous n'avez plus raison à hésiter. Pass4Test est une meilleure assurance pour le succès de test Oracle 1Z0-861. Ajoutez la Q&A au panier.

Pas besoin de beaucoup d'argent et de temps, vous pouvez passer le test Oracle 1Z0-861 juste avec la Q&A de Oracle 1Z0-861 offerte par Pass4Test qui vous offre le test simulation bien proche de test réel.

Code d'Examen: 1Z0-861
Nom d'Examen: Oracle (Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade Exam)
Questions et réponses: 152 Q&As

Pass4Test vous promet de vous aider à passer le test Oracle 1Z0-861, vous pouvez télécharger maintenant les Q&As partielles de test Oracle 1Z0-861 en ligne. Il y a encore la mise à jour gratuite pendant un an pour vous. Si vous malheureusement rater le test, votre argent sera 100% rendu.

Peut-être vous voyez les guides d'études similaires pour le test Oracle 1Z0-861, mais nous avons la confiance que vous allez nous choisir finalement grâce à notre gravité d'état dans cette industrie et notre profession. Pass4Test se contribue à amérioler votre carrière. Vous saurez que vous êtes bien préparé à passer le test Oracle 1Z0-861 lorsque vous choisissez la Q&A de Pass4Test. De plus, un an de service gratuit en ligne après vendre est aussi disponible pour vous.

Pass4Test possède un l'outil de formation particulier à propos de test Oracle 1Z0-861. Vous pouvez améliorer les techniques et connaissances professionnelles en coûtant un peu d'argent à courte terme, et vous preuver la professionnalité dans le future proche. L'outil de formation Oracle 1Z0-861 offert par Pass4Test est recherché par les experts de Pass4Test en profitant les expériences et les connaissances riches.

1Z0-861 Démo gratuit à télécharger: http://www.pass4test.fr/1Z0-861.html

NO.1 The Java Persistence API defines the semantics of the remove operation and the entity lifecycle
states.
Which statement is true when the remove method is invoked on an entity X?
A. If X is a removed entity it becomes managed.
B. If X is a new entity it will be removed from the database.
C. The remove method is always cascaded to related entities.
D. If X is a detached entity an lllegalArgumentException will be thrown.
Answer: D

Oracle   certification 1Z0-861   1Z0-861 examen   1Z0-861   1Z0-861

NO.2 The Java Persistent API defines certain rules for persistent entities. These rules are required by the
persistent provider to manage entities at runtime.
Which statement is correct, assuming NO mapping descriptor is used?
A. Entities must extend a persistent base class.
B. Entities must implement the interface PersistentEntity to be managed by the persistent
provider.
C. A field without a transient modifier must be annotated as @Persistent to be stored in the database.
D. A field without a transient modifier must be annotated as @Transientto NOT be stored in the database.
Answer: D

Oracle examen   certification 1Z0-861   1Z0-861 examen

NO.3 A User entity is in a onE. to-many relationship with a Book entity.
A developer writes a query to delete users that have a first name of 'Fred' or 'Ginger', and writes the
following Java Persistence query language statement:
DELETE FROM User u WHERE u.name IN ('Fred1, 'Ginger')
If the query fails with a PersistenceException, what can be the cause?
A. The syntax of the query is NOT correct.
B. The query causes a foreign key integrity constraint to be violated.
C. The database does NOT have any users with the name 'Fred' or 'Ginger'.
D. The entities corresponding to the users with the name 'Fred' or 'Ginger' are already being managed by
the persistence context.
Answer: B

Oracle examen   1Z0-861   1Z0-861 examen

NO.4 A developer maps the abstract entity class Account with concrete entity suB. classes
CreditCardAccount and SavingsAccount using the single table per class hierarchy strategy. Which two
statements are true? (Choose two.)
A. Instances of CreditCardAccount and SavingsAccount are stored in the same table.
B. All columns that correspond to fields declared in Account must be defined as nullable in the database.
C. The fields declared in Account are stored in a different table than the ones declared in
CreditCardAccount and SavingsAccount.
D. All columns that correspond to fields declared in CreditCardAccount or SavingsAccount must be
defined as nullable in the database.
Answer: A,D

Oracle   1Z0-861 examen   1Z0-861   1Z0-861

NO.5 Which statement about the combination of mapping defaults, annotations, and XML descriptors is
correct?
A. All mapping annotations must always be processed by the persistence provider.
B. Some annotations, like the @Entity annotation, must always be processed by the persistence provider.
C. The mapping information for an entity class specified by annotations and in XML descriptors must be
distinct.
D. If multiple entity listeners are defined, the order in which they are invoked can be defined or overwritten
in the XML descriptor.
Answer: D

certification Oracle   1Z0-861   certification 1Z0-861   certification 1Z0-861   1Z0-861   1Z0-861 examen

NO.6 Your application uses the Java Persistence API to access a database. This application must reject
adding an instance to the database if it does NOT pass validation tests for values of two persistence
properties. The database contains some data that will NOT pass such validation. Only the new records
must be validated. Which option will achieve this behavior?
A. Add validation logic to the setter methods for each property.
B. Add the PrePersist callback method with all of the validation logic.
C. Add the PostPersist callback method with all of the validation logic.
D. Add PrePersist and PreUpdate callback methods with all of the validation logic.
Answer: B

Oracle examen   certification 1Z0-861   1Z0-861 examen   1Z0-861

NO.7 Which two are true about EJB 3.0 exception classes? (Choose two.)
A. The javax.ejb.NoSuchEJBException is an application exception.
B. The javax.ejb.EJBException extends java.lang.RuntimeException.
C. The javax.ejb.EJBTransactionRequiredException is an application exception. D. An application
exception must NOT be a subclass of java.rmi.RemoteException.
E. The javax.ejb.EJBTransactionRolledbackException is an application exception.
F. Any subclass of java.lang.RuntimeException is always considered a system exception.
Answer: B,D

Oracle   1Z0-861   1Z0-861

NO.8 A developer wants to create a Java Persistence query that will include a subquery. Which three are
true? (Choose three.)
A. Subqueries can be used in a FROM clause.
B. Subqueries can be used in a WHERE clause.
C. The ANY expression can be used only with a subquery.
D. The EXISTS expression can be used only with a subquery
E. The MEMBER expression can be used only with a subquery.
Answer: B,C,D

Oracle   1Z0-861   certification 1Z0-861   certification 1Z0-861

NO.9 XYZ Software develops business components using both the EJB 2.1 and EJB 3.0 APIs. Some
customers are reluctant to completely migrate to the EJB 3.0 model, but are willing to have EJB 2.1
session beans invoke EJB 3.0 session beans.
How should XYZ Software enhance these components to meet this customer requirement?
A. Use @EJB to inject a reference to the EJB 3.0 business interface into the EJB 2.1 bean class.
B. Use <ejB. ref> in ejB. jar.xml for the EJB 2.1 bean to declare a reference to the EJB 3.0
business interface.
C. Add an EJB 3.0-style business interface to EJB 2.1 beans to achieve interoperability between EJB 2.1
and EJB 3.0 beans.
D. Use @RemoteHome and @LocalHome to adapt EJB 3.0 beans so that EJB 2.1 beans can look up the
adapted home interfaces using JNDI.
Answer: D

Oracle examen   1Z0-861 examen   1Z0-861   1Z0-861

NO.10 A Java Persistence application uses entities mapped to tables from two datasources in the same
transaction.
What statement is correct?
A. This is NOT possible.
B. The entities must be packaged into two persistence units. C. The entities can be packaged into a single
persistence unit
D. The entities must be packaged using two different persistence.xml files.
Answer: B

Oracle   certification 1Z0-861   certification 1Z0-861   1Z0-861 examen

NO.11 Within a Java EE environment, which annotation can be used to inject an entity manager factory?
A. @Entity
B. @Factory
C. @JTAFactory
D. @PersistenceUnit
E. @PersistenceContext
Answer: D

Oracle examen   1Z0-861 examen   1Z0-861

NO.12 A Java EE 5 application contains a session bean which uses a security role USER. A group called
people is defined in an LDAP server. Which two define appropriate EJB role responsibilities? (Choose
two.)
A. The deployer defines and configures the LDAP realm.
B. The system administrator defines and configures the LDAP realm.
C. The deployer maps the application role USER to the LDAP group people
D. The system administrator maps the application role USER to the LDAP group people.
Answer: B,C

certification Oracle   certification 1Z0-861   1Z0-861 examen   1Z0-861   certification 1Z0-861

NO.13 A developer writes two session beans which cooperate. The first session bean, ShoppingCart, collects
orders and is implemented as a stateful session bean. The second session bean, CalculateDiscount, is
implemented as a stateless session bean and runs on a different server. ShoppingCart contains the
method getTotalPrice, which calculates the total price of the order in the ShoppingCart, including
discounts. Discounts are calculated by CalculateDiscount using the information on the ShoppingCart
bean, combined with data from a database. Which scenario can accomplish this?
A. The CalculateDiscount offers a method calculate which is invoked by the ShoppingCart bean passing
the this reference.
B. The CalculateDiscount offers a method calculate which is invoked by the ShoppingCart bean.
CalculateDiscount accesses the ShoppingCart instance by JNDI lookup.
C. The CalculateDiscount offers a method calculate which is invoked by the ShoppingCart bean passing
its reference obtained from the SessionContext.getBusinessObject method.
D. The CalculateDiscount offers a method calculate which is invoked by the ShoppingCart bean.
CalculateDiscount accesses the state of ShoppingCart by dependency injection.
Answer: C

Oracle   certification 1Z0-861   1Z0-861

NO.14 Which two statements are true? (Choose two.)
A. All types of enterprise beans can be transaction-aware
B. Typically, finE. grained objects, such as an employee record, should be remotely accessible.
C. The client view of any given enterprise bean will be consistent across all EJB 3.0 containers without the
need to recompile the bean.
D. As long as a given enterprise bean is NOT recompiled, its security attributes are guaranteed to be
consistent across all EJB 3.0 containers in which it is deployed.
Answer: A,C

Oracle examen   1Z0-861   1Z0-861   1Z0-861   certification 1Z0-861

NO.15 A stateful session bean contains a number of instance variables. The types of instance variables A and
B are NOT serializable. Instance variable B is a complex type which is populated by many business calls,
and can, therefore, NOT be refilled by the client without starting all over. A helper instance variable C is
defined as having a Serializable type, and can hold all the information which is in variable B. For example,
B is of type XML-DOM Tree and C of type String. Which two solutions, when combined, maintain the state
of the session bean over a passivation and activation by the container? (Choose two.)
A. The value of helper variable C is used to create the value of instance variable B in the beans no-arg
constructor.
B. The value of helper variable C is used to create the value of instance variable B in a
@PostCreate annotated method.
C. The value of helper variable C is used to create the value of instance variable B in a
@PostActivate annotated method
D. Instance variable A must be made null and instance variable B must be converted to a
Serializable type and assigned to another instance variable in a @PreDestroy annotated method.
E. Instance variable A must be defined transient. Instance variable B must be converted to a Serializable
type, set to null, and assigned to the instance variable C in a @PrePassivate annotated method.
Answer: C,E

certification Oracle   1Z0-861 examen   1Z0-861

NO.16 An Application Assembler is given the following stateless session bean:
10. @Stateless public class MyBean implements Mylnt {
11. @RolesAllowed("SECRET")
12. public void methodA(int x) {}
13. public void methodA(String y) {}
14. public void methodB(String z) {}
15.}
A deployment descriptor is also supplied, a portion of which reads as follows:
20. <methoD. permission> 21. <rolE. name>AGENT</rolE. name>
22. <method>
23. <ejB. name>MyBean</ejB. name>
24. <methoD. name>methodA</methoD. name>
25. </method>
26. </methoD. permission>
Which statement is true?
A. A client in any role will be able to access any of the methods.
B. A client in the role "AGENT" will be able to access any of the methods.
C. A client in the role "SECRET" will be able to access any of the methods.
D. A client in the role "AGENT" will be able to access methodB and methodA(String), but not
methodA(int).
E. A client in the role "SECRET" will be able to access methodA(int) and methodB, but NOT
methodA(String).
Answer: B

Oracle   certification 1Z0-861   1Z0-861

NO.17 A developer wants to create a business interface for both local and remote usage. For
performance reasons the remote interface should NOT be called by a client in the same JVM.
Which statement is required to accomplish this, assuming there is no deployment descriptor?
A. The business methods are defined in one interface which must be annotated with both @Local and
@Remote.
B. The business methods are defined twice in one interface. One method is annotated with @Local and
the other is annotated with @Remote.
C. The business methods are defined in a common interface by two other interfaces which are annotated
with @Local and @Remote respectively. The bean implements the super interface.
D. The business methods are defined in a common interface. It is extended by two interfaces, annotated
with @Local and .Remote respectively. Both interfaces are implemented by the bean class.
Answer: D

Oracle   1Z0-861   1Z0-861   1Z0-861

NO.18 A developer writes an enterprise application and packages it into an .ear file. The application contains
two persistence units defined at the .ear level with persistence unit names FooPU and BarPU. The
application also contains an ejB. jar with one stateless session bean. Which code, when added to the
stateless session bean class, injects an EntityManagerFactory at runtime?
A. @PersistenceUnit
private EntityManagerFactory emf;
B. @PersistenceContext
private EntityManagerFactory emf;
C. @PersistenceUnit(unitName="BarPU")
private EntityManagerFactory emf;
D. @Resource(name="BarPU",type=EntityManagerFactory.class)
private EntityManagerFactory emf;
Answer: C

Oracle   certification 1Z0-861   1Z0-861   1Z0-861 examen   certification 1Z0-861

NO.19 A developer is creating an entity which is mapped to a table that has a primary key constraint defined on
two character columns and would like to use mapping defaults as much as possible to simplify the code.
Which two mapping options can be chosen.? (Choose two.)
A. Use an @ld property that constructs a private field as a concatenation of two columns.
B. Use a separate class to map those two columns and use an @ldClass annotation to denote the primary
key field or property in the entity.
C. Use a separate @Embeddable class to map those two columns and use an @Embeddedld annotation
to denote a single primary key field or property in the entity.
D. Use a separate @Embeddable class to map those two columns and add two fields or
properties to the entity, each marked as @ld, that correspond to the fields or properties in the embeddable
class.
E. Use a separate class to map those two columns. Specify that class using @ldClass annotation on the
entity class. Add two fields or properties to the entity, each marked as @ld, that correspond to the fields or
properties in that separate class.
Answer: C,E

certification Oracle   certification 1Z0-861   certification 1Z0-861

NO.20 Bean Provider has been asked to write a stateless session bean, MyBean with a single method
breakout. A System Administrator guarantees that all clients accessing the bean will be identified by
mutual SSL authentication. The Bean Provider's task is to ensure that breakout always logs identity
information of the client that invoked it. Which solution would satisfy this requirement?
A. Access the identity information in the X.509 certificate used to authenticate the user from within
breakout.
B. Use the getCallerPrincipal method on an injected SessionContext to determine the required
information.
C. Use the isCallerlnRole method on an injected SessionContext to determine the required information.
D. Ensure that the breakout method is appropriately annotated with @RolesAllowed.
Answer: B

Oracle   1Z0-861   1Z0-861   1Z0-861

Il y a beaucoup de gans ambitieux dansn l'Industrie IT. Pour monter à une autre hauteur dans la carrière, et être plus proche du pic de l'Industrie IT. On peut choisir le test Oracle 1Z0-861 à se preuver. Mais le taux du succès et bien bas. Participer le test Oracle 1Z0-861 est un choix intelligent. Dans l'Industrie IT de plus en plus intense, on doit trouver une façon à s'améliorer. Vous pouvez chercher plusieurs façons à vous aider pour réussir le test.