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

2014年3月11日星期二

効率が良い問題集を利用してOracle 1Z0-861認定試験に準備しょう

Oracleの認定試験は最近ますます人気があるようになっています。IT認定試験は様々あります。どの試験を受験したことがありますか。たとえば1Z0-861認定試験などです。これらは全部大切な試験です。どちらを受験したいですか。ここで言いたいのは1Z0-861試験です。この試験を受けたいなら、JPexamの1Z0-861問題集はあなたが楽に試験に合格するのを助けられます。

JPexamの1Z0-861問題集は素晴らしい参考資料です。この問題集は絶対あなたがずっと探しているものです。これは受験生の皆さんのために特別に作成し出された試験参考書です。この参考書は短い時間で試験に十分に準備させ、そして楽に試験に合格させます。試験のためにあまりの時間と精力を無駄にしたくないなら、JPexamの1Z0-861問題集は間違いなくあなたに最もふさわしい選択です。この資料を使用すると、あなたの学習効率を向上させ、多くの時間を節約することができます。

多くのOracleの1Z0-861認定試験を準備している受験生がいろいろな1Z0-861認証試験についてサービスを提供するサイトオンラインがみつけたがJPexamはIT業界トップの専門家が研究した参考材料で権威性が高く、品質の高い教育資料で、一回に参加する受験者も合格するのを確保いたします。

JPexamのOracleの1Z0-861試験トレーニング資料が受験生の皆様の評判を取ったのはもう最近のことではないです。これはJPexamのOracleの1Z0-861試験トレーニング資料は確かに信頼できて、受験生の皆様が首尾よく試験に合格することに助けを差し上げられることが証明されました。 JPexamのOracleの1Z0-861試験トレーニング資料がベストセラーになって、他のサイトをずっと先んじて皆様の認可を取りましたから、好評は言うまでもないです。 Oracleの1Z0-861認定試験を受けたら、速くJPexamというサイトをクリックしてください。あなたがずっとほしいものを手に入れることができますから。最もプロな人々が注目しているIT専門家になりたかったら、後悔しないように速くショッピングカートを入れましょう。

JPexamはIT認定試験に関連する資料の専門の提供者として、受験生の皆さんに最も優秀な試験1Z0-861参考書を提供することを目標としています。他のサイトと比較して、JPexamは皆さんにもっと信頼されています。なぜでしょうか。それはJPexamは長年の経験を持っていて、ずっとIT認定試験の研究に取り組んでいて、試験についての多くの規則を総括しましたから。そうすると、JPexamの1Z0-861教材は高い的中率を持つことができます。これはまた試験の合格率を保証します。従って、JPexamは皆の信頼を得ました。

試験番号:1Z0-861問題集
試験科目:Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade Exam
最近更新時間:2014-03-11
問題と解答:全152問
100%の返金保証。1年間の無料アップデート。

Oracleの1Z0-861認定試験は業界で広く認証されたIT認定です。世界各地の人々はOracleの1Z0-861認定試験が好きです。この認証は自分のキャリアを強化することができ、自分が成功に近づかせますから。Oracleの1Z0-861試験と言ったら、JPexam のOracleの1Z0-861試験トレーニング資料はずっとほかのサイトを先んじているのは、JPexam にはIT領域のエリートが組み立てられた強い団体がありますから。その団体はいつでも最新のOracle 1Z0-861試験トレーニング資料を追跡していて、彼らのプロな心を持って、ずっと試験トレーニング資料の研究に力を尽くしています。

JPexamは専門的なIT認証サイトで、成功率が100パーセントです。これは多くの受験生に証明されたことです。JPexamにはIT専門家が組み立てられた団体があります。彼らは受験生の皆さんの重要な利益が保障できるように専門的な知識と豊富な経験を活かして特別に適用性が強いトレーニング資料を研究します。その資料が即ちOracleの1Z0-861試験トレーニング資料で、問題集と解答に含まれていますから。

購入前にお試し,私たちの試験の質問と回答のいずれかの無料サンプルをダウンロード:http://www.jpexam.com/1Z0-861_exam.html

NO.1 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   1Z0-861   1Z0-861   1Z0-861認定試験

NO.2 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認定資格   1Z0-861参考書   1Z0-861   1Z0-861   1Z0-861

NO.3 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認定試験   1Z0-861参考書   1Z0-861参考書   1Z0-861

NO.4 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参考書   1Z0-861   1Z0-861   1Z0-861   1Z0-861   1Z0-861練習問題

NO.5 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

Oracle参考書   1Z0-861   1Z0-861

NO.6 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練習問題   1Z0-861   1Z0-861認定資格   1Z0-861

NO.7 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過去問   1Z0-861   1Z0-861認定資格

NO.8 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   1Z0-861   1Z0-861問題集

NO.9 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

Oracle認定証   1Z0-861認証試験   1Z0-861認定証   1Z0-861認定証   1Z0-861認定試験

NO.10 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

Oracle問題集   1Z0-861   1Z0-861過去問   1Z0-861   1Z0-861認定証

NO.11 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   1Z0-861   1Z0-861認定資格

NO.12 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認定試験   1Z0-861   1Z0-861   1Z0-861過去問

NO.13 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   1Z0-861   1Z0-861参考書

NO.14 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練習問題   1Z0-861   1Z0-861認定資格   1Z0-861   1Z0-861

NO.15 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過去問   1Z0-861   1Z0-861練習問題   1Z0-861認定証

NO.16 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練習問題   1Z0-861参考書

NO.17 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   1Z0-861   1Z0-861   1Z0-861

NO.18 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

Oracle   1Z0-861参考書   1Z0-861   1Z0-861認証試験   1Z0-861   1Z0-861過去問

NO.19 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認定証   1Z0-861   1Z0-861   1Z0-861認定証   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認証試験   1Z0-861

JPexamは最新の74-343問題集と高品質のC_TSCM42_65問題と回答を提供します。JPexamのCAT-221 VCEテストエンジンとNS0-145試験ガイドはあなたが一回で試験に合格するのを助けることができます。高品質のC4060-155 PDFトレーニング教材は、あなたがより迅速かつ簡単に試験に合格することを100%保証します。試験に合格して認証資格を取るのはそのような簡単なことです。

記事のリンク:http://www.jpexam.com/1Z0-861_exam.html

2014年2月25日星期二

Oracle 1Z0-864 1Z0-863 1Z0-862 1Z0-861 1Z0-860 1Z0-859試験問題集のデモを無料でダウンロードしよう

現在の社会で人材があちこちいます。IT領域でも同じです。コンピュータの普及につれて、パソコンを使えない人がほとんどいなくなります。ですから、IT業界で勤めているあなたはプレッシャーを感じていませんか。学歴はどんなに高くてもあなたの実力を代表できません。学歴はただ踏み台だけで、あなたの地位を確保できる礎は実力です。IT職員としているあなたがどうやって自分自身の実力を養うのですか。IT認定試験を受験するのは一つの良い方法です。1Z0-864 1Z0-863 1Z0-862 1Z0-861 1Z0-860 1Z0-859試験を通して、あなたは新しいスキルをマスターすることができるだけでなく、1Z0-864 1Z0-863 1Z0-862 1Z0-861 1Z0-860 1Z0-859認証資格を取得して自分の高い能力を証明することもできます。最近、Oracle 1Z0-864 1Z0-863 1Z0-862 1Z0-861 1Z0-860 1Z0-859試験の認証資格がとても人気があるようになりましたが、受験したいですか。

今の競争の激しいIT業界では、多くの認定試験の合格証明書が君にをとんとん拍子に出世するのを助けることができます。多くの会社は君の実力と昇進がその証明書によって判断します。Oracle1Z0-864 1Z0-863 1Z0-862 1Z0-861 1Z0-860 1Z0-859認証試験はIT業界の中で含金度高い試験で、JPexamがOracle1Z0-864 1Z0-863 1Z0-862 1Z0-861 1Z0-860 1Z0-859認証試験について対応性の訓練 を提供しておって、ネットで弊社が提供した部分の問題集をダウンロードしてください。

専門的に言えば、試験を受けるに関するテクニックを勉強する必要があります。JPexamというサイトは素晴らしいソースサイトで、Oracleの1Z0-864 1Z0-863 1Z0-862 1Z0-861 1Z0-860 1Z0-859の試験材料、研究材料、技術材料や詳しい解答に含まれています。問題集が提供したサイトは近年で急速に増加しています。あなたは試験の準備をするときに見当もつかないかもしれません。JPexamのOracleの1Z0-864 1Z0-863 1Z0-862 1Z0-861 1Z0-860 1Z0-859試験トレーニング資料は専門家と受験生の皆様に証明された有効なトレーニング資料で、あなたが試験の合格することを助けられます。

JPexamはOracleの1Z0-864 1Z0-863 1Z0-862 1Z0-861 1Z0-860 1Z0-859試験に関する完全な資料を唯一のサービスを提供するサイトでございます。JPexamが提供した問題集を利用してOracleの1Z0-864 1Z0-863 1Z0-862 1Z0-861 1Z0-860 1Z0-859試験は全然問題にならなくて、高い点数で合格できます。Oracle 1Z0-864 1Z0-863 1Z0-862 1Z0-861 1Z0-860 1Z0-859試験の合格のために、JPexamを選択してください。

長年にわたり、JPexamはずっとIT認定試験を受験する皆さんに最良かつ最も信頼できる参考資料を提供するために取り組んでいます。IT認定試験の出題範囲に対して、JPexamは豊富な経験を持っています。また、JPexamは数え切れない受験生を助け、皆さんの信頼と称賛を得ました。ですから、JPexamの1Z0-864 1Z0-863 1Z0-862 1Z0-861 1Z0-860 1Z0-859問題集の品質を疑わないでください。これは間違いなくあなたが1Z0-864 1Z0-863 1Z0-862 1Z0-861 1Z0-860 1Z0-859認定試験に合格することを保証できる問題集です。JPexamは試験に失敗すれば全額返金を保証します。このような保証があれば、JPexamの1Z0-864 1Z0-863 1Z0-862 1Z0-861 1Z0-860 1Z0-859問題集を購入しようか購入するまいかと躊躇する必要は全くないです。この問題集をミスすればあなたの大きな損失ですよ。

試験番号:1Z0-864問題集
試験科目:Java Enterprise Edition 5 Enterprise Architect Certified Master Exam (Step 1 of 3)
最近更新時間:2014-02-25
問題と解答:全238問
100%の返金保証。1年間の無料アップデート。

試験番号:1Z0-863問題集
試験科目:Java Enterprise Edition 5 Web Services Developer Certified Professional Upgrade Exam
最近更新時間:2014-02-25
問題と解答:全96問
100%の返金保証。1年間の無料アップデート。

試験番号:1Z0-862問題集
試験科目:Java Enterprise Edition 5 Web Services Developer Certified Professional Exam
最近更新時間:2014-02-25
問題と解答:全183問
100%の返金保証。1年間の無料アップデート。

試験番号:1Z0-861問題集
試験科目:Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade Exam
最近更新時間:2014-02-25
問題と解答:全152問
100%の返金保証。1年間の無料アップデート。

試験番号:1Z0-860問題集
試験科目:Java Enterprise Edition 5 Business Component Developer Certified Professional Exam
最近更新時間:2014-02-25
問題と解答:全305問
100%の返金保証。1年間の無料アップデート。

試験番号:1Z0-859問題集
試験科目:Java Enterprise Edition 5 Web Component Developer Certified Professional Upgrade Exam
最近更新時間:2014-02-25
問題と解答:全119問
100%の返金保証。1年間の無料アップデート。

購入前にお試し,私たちの試験の質問と回答のいずれかの無料サンプルをダウンロード:http://www.jpexam.com/1Z0-862_exam.html

NO.1 For a company's new software, the developers are constructing abstract definitions of the data being
communicated by their document style Web service.
Given the targetNamespace:
xmlns:xsda="http://sun.com/sample.xsd"
Which is a valid wsdl:message containing a wsdl:part?
A. <message name="GetInput">
<part name="body" attribute="tns:InputRequest"/>
</message>
B. <message name="GetInput">
<part name="body" element="tns:InputRequest"/>
</message>
C. <message name="GetInput">
<part name="body" attribute="xsda:InputRequest"/>
</message>
D. <message name="GetInput">
<part name="body" element="xsda:InputRequest"/>
</message>
E. <message name="GetInput">
<part name="body" element="xsd:string"/>
</message>
F. <message name="GetInput">
<part name="body" element="InputRequest"/>
</message>
Answer: D

Oracle認定試験   1Z0-862   1Z0-862   1Z0-862   1Z0-862   1Z0-862過去問

NO.2 What are three benefits of using SSL to connect to a Web service without mutual
authentication?(Choose three.)
A. The server is assured of the client's identity if the client issues the certificate.
B. The client is assured of the server's identity.
C. Message integrity is preserved between the client and the server.
D. The communication between the client and the server is still logged.
E. The communication between the client and the server is encrypted.
F. Using SSL over HTTP incurs less overhead than HTTPS.
Answer: B,C,E

Oracle認定資格   1Z0-862   1Z0-862   1Z0-862   1Z0-862

NO.3 A company's new investment management Java application and a legacy stock trader
application need to communicate, but they use different JMS implementations. A
developer decides to implement a JMS bridge to solve the problem.Which two
advantages does this pattern provide.? (Choose two.)
A. It converts the interface of a class into another interface that clients expect.
B. It decouples an abstraction from its implementation so that the two can vary
independently.
C. It dynamically attaches additional responsibilities to an object.
D. It optimizes network traffic.
E. It is vendor independent.
Answer: B,E

Oracle   1Z0-862過去問   1Z0-862   1Z0-862認定証

NO.4 Which fragment is Basic Profile 1.1 compliant?
A. <port name="testWS"> <operation name="runit"
>
<input message="tns:runit"/
>
<output message="tns:runitResponse"/
>
</operation>
</port>
<binding name="testWSPortBinding" type="tns:testWS"
>
..
.
<operation name="runit"
>
<soap:operation soapAction="tns:runit"/
>
<input>
<soap:body use="literal"/
>
</input>
<output>
<soap:body use="literal"/
>
</output>
</operation>
</binding>
B. <portType name="testWS"
>
<operation name="runit"
>
<input message="tns:runit"/
>
<output message="tns:runitResponse"/
>
</operation>
<operation name="saveit"
>
<input message="tns:saveit"/
>
<output message="tns:saveitResponse"/
>
</operation>
</portType>
<binding name="testWSPortBinding" type="tns:testWS"
>
..
.
<operation name="runit"
>
<soap:operation soapAction="tns:runit"/
>
<input>
<soap:body use="literal"/
>
</input>
<output>
<soap:body use="literal"/
>
</output>
</operation>
</binding>
C. <port name="testWS"
>
<operation name="runit"
>
<input message="tns:runit"/
>
<output message="tns:runitResponse"/
>
</operation>
</port>
<binding name="testWSPortBinding" type="tns:testWS"
>
..
.
<operation name="runit"
>
<soap:operation soapAction="runit"/
>
<input>
<soap:body use="literal"/
>
</input>
<output>
<soap:body use="literal"/
>
</output>
</operation>
</binding>
D. <portType name="testWS"
>
<operation name="runit"
>
<input message="tns:runit"/
>
<output message="tns:runitResponse"/
>
</operation>
</portType>
<binding name="testWSPortBinding" type="tns:testWS"
>
..
.
<operation name="runit"
>
<soap:operation soapAction="runit"/
>
<input>
<soap:body use="literal"/
>
</input>
<output>
<soap:body use="literal"/
>
</output>
</operation>
</binding>
Answer: D

Oracle練習問題   1Z0-862参考書   1Z0-862過去問   1Z0-862   1Z0-862問題集   1Z0-862練習問題

NO.5 A developer is creating a servlet-based endpoint for a new payroll application.What are
three requirements for the service? (Choose three.)
A. It needs to be packaged as a WAR file.
B. It needs to be packaged as a JAR file.
C. It requires a META-INF folder.
D. It requires a WEB-INF folder.
E. webservices.xml is required.
F. web.xml is required.
Answer: A,D,F

Oracle   1Z0-862   1Z0-862   1Z0-862過去問

NO.6 Which two statements are true about XML schemas and WSDL 1.1? (Choose two.)
A. http://schemas.xmlsoap.org/wsdl/ is the WSDL namespace for SOAP binding.
B. xsi is used as a prefix to represent the schema namespace as defined by XSD
C. XSD schemas are used as a formal definition of WSDL grammar.
D. xsd is used as a prefix to represent the schema namespace as defined by XSD
E. http://schemas.xmlsoap.org/wsdl/http/ is the WSDL namespace for SOAP binding.
Answer: C,D

Oracle   1Z0-862認証試験   1Z0-862   1Z0-862

NO.7 A developer is creating an XML schema that is Basic Profile compliant, and has elements that require
long integer values.
Given the code:
<Schema targetNamespace="http://sun.cert/types"
xmlns:ns0="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://sun.cert/xsdTypes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
<complexType name="Foo"
>
<sequence>
<!-- insert code here --
>
</sequence>
</complexType>
</schema>
Assuming that no other namespace declarations exist, which two elements use the long
type that is defined in the http://www.w3.org/2001/XMLSchema namespace? (Choose
two.)
A. <element name="length" type="long"/>
B. <element name="length type="xsi:long"/>
C. <element name="length" type="xsd:long"/>
D. <element name="length" type="ns0:long"/>
E. <element name="length" type="integer"/>
F. <element name="length" type="xsd:integer"/>
Answer: A,D

Oracle   1Z0-862   1Z0-862   1Z0-862認証試験   1Z0-862

NO.8 Which two statements are true about XML schemas that conform to WS-I Basic Profile
1.1? (Choose two.)
A. A description may use any construct from XML Schema.
B. A description may use any construct of XML Schema, except for arrays.
C. A description must use XML Schema recommendations as the basis of userdefined
datatypes and structures.
D. A description may use any construct of XML Schema, except for defining userdefined
datatypes and structures.
E. RESTful XML schemas may also draw from the XML-Rest Schema.
Answer: A,C

Oracle   1Z0-862   1Z0-862

NO.9 Which three can an EJB-based endpoint use? (Choose three.)
A. HTTP sessions
B. Java EE 5 declarative security
C. Java EE 5 programmatic security
D. client-demarcated transactions
E. container-managed transactions
Answer: B,C,E

Oracle   1Z0-862   1Z0-862問題集

NO.10 A developer needs to define an array of long integers in their Basic Profile compliant
Web service and is given the following code fragment for analysis:
<Schema targetNamespace="http://sun.cert/types"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas/xmlsoap.org/wsdl">
<!-- insert code here -->
</schema>
Assume all XML fragments are well-formed.According to the WS-I Basic Profile 1.1,
which type definition can be used to define an array of longs?
A. <xsd:complexType name="longArray"
>
<xsd:array>
<xsd:element name="item" type="xsd:long"/
>
</xsd:array>
</xsd:complexType>
B. <xsd:complexType name="longArray"
>
<xsd:sequence>
<element name="item" type="xsd:long"/
>
</xsd:sequence>
</xsd:complexType>
C. <xsd:complexType name="longArray"
>
<xsd:array>
<xsd:element name="item" type="xsd:long" minOccurs="0" maxOccurs="unbounded"/
>
</xsd:array>
</xsd:complexType>
D. <xsd:complexType name="longArray"
>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="5" type="xsd:long"/
>
</xsd:sequence>
</xsd:complexType>
E. <xsd:complexType name="longArray"
>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="5" type="xsd:integer"/
>
</xsd:sequence>
</xsd:complexType>
Answer: D

Oracle   1Z0-862   1Z0-862過去問   1Z0-862

NO.11 According to the XML-to-Java mappings used by JAX-WS, which three elements
or attribute declarations are mapped to a Java primitive wrapper class (for example,
java.lang.Short)? (Choose three.)
A. <xsd:element name="age" type="xsd:short" minOccurs="0"/>
B. <xsd:element name="age" type="xsd:short" nillable="true"/>
C. <xsd:element name="age" type="xsd:short" nillable="false"/>
D. <xsd:attribute name="required" type="xsd:boolean" use="optional"/>
E. <xsd:attribute name="required" type="xsd:boolean" use="required"/>
F. <xsd:attribute name="required" type="xsd:boolean" nillable= false/>
Answer: A,B,D

Oracle認証試験   1Z0-862   1Z0-862   1Z0-862過去問   1Z0-862問題集   1Z0-862練習問題

NO.12 A JAXR client has established connection with a UDDI registry and needs to get a
service binding from the registry.What is required to accomplish this task?
A. find the appropriate concept and then find the service binding associated with that
concept
B. find the appropriate authentication token and then find the service binding
associated with that authentication token
C. find the appropriate organization, get the tModel associated with that organization, and
then find the service binding associated with the tModel
D. find the appropriate organization, find the services associated with that organization,
and then find the service binding associated with the service
Answer: D

Oracle過去問   1Z0-862   1Z0-862問題集   1Z0-862   1Z0-862参考書

NO.13 A team of developers is describing a set of endpoints in their new SOA application.
Given the WSDL extract:
<service name="InventoryServices"
>
<port name="PurchaseOrder" binding="tns:POBinding"
>
<soap:address location="http://192.168.0.2:8080/inventory"/
>
</port>
<port name="Invoice" binding="tns:InvoiceBinding"
>
<soap:address location="http://192.168.0.2:8080/inventory"/
>
</port>
</service>
Which statement is true about this WSDL extract?
A. The extract is WS-I Basic Profile 1.1 compliant because both port element names are
different.
B. The extract is NOT WS-I Basic Profile 1.1 compliant because both port elements point
to the same location.
C. The extract is WS-I Basic Profile 1.1 compliant because both port elements point to
different binding elements.
D. The extract is NOT WS-I Basic Profile 1.1 compliant because it contains two port
elements in the same service.
E. The extract is WS-I Basic Profile 1.1 conformant because both port element names are
different.
F. The extract is WS-I Basic Profile 1.1 conformant because the port, binding,
and service element combinations are unique.
Answer: B

Oracle認定試験   1Z0-862参考書   1Z0-862認定証   1Z0-862   1Z0-862認証試験

NO.14 A developer is creating an XML schema using the xsd:all operator.Given the code:
<types>
<schema targetNamespace="http://sun.cert/types" xmlns:tns="http://sun.cert/types"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:complexType name="Person">
<xsd:all>
<!-- insert code here -->
</xsd:all>
</xsd:complexType>
</schema>
</types>
Which two element definitions, when inserted into the given schema fragment, result in a
correct schema type definition? (Choose two.)
A. <xsd:element name="first" type="xsd:string"/>
B. <xsd:element name="items" type="xsd:long" maxOccurs="5"/>
C. <xsd:element name="last" type="xsd:string" minOccurs="1" maxOccurs="1"/>
D. <xsd:element name="first" type="xsd:string" minOccurs="0" maxOccurs="5"/>
E. <xsd:element name="last" type="xsd:string" minOccurs="1" maxOccurs="5"/>
F. <xsd:element name="ssn" type="xsd:string" minOccurs="1"
maxOccurs="unlimited"/>
Answer: A,C

Oracle   1Z0-862   1Z0-862参考書

NO.15 A developer is defining a SOAP binding in the WSDL for their new service.Which XML
fragment is WSDL 1.1 compliant?
A. <soap:binding transport=Http://www.w3.org/2001/XMLSchema?style="document"/>
B. <soap:binding transport=Http://schemas.xmlsoap.org/wsdl/soap/?style="document"/>
C. <soap:binding transport=Http://schemas.xmlsoap.org/soap/http?style="document"/>
D. <soap:binding transport=Http://schemas.xmlsoap.org/soap?style="rpc"/>
Answer: C

Oracle   1Z0-862   1Z0-862練習問題   1Z0-862参考書   1Z0-862

NO.16 A company is refactoring an existing website to use Web services clients. The application retrieves lists
of parts and displays them to the users in a browser window. Previously, the data was stored as files on
the web server and, in order to access the files, the user would simply click on a hyperlink. Now the data
must be dynamically generated via a service that another developer has created. They want the easiest
way to refactor their website to use Web services.Which three technologies should they use? (Choose
three.)
A. SOAP
B. REST
C. Javascript
D. XML
E. JSON
F. Java
Answer: B,C,E

Oracle練習問題   1Z0-862   1Z0-862認定試験   1Z0-862認定証   1Z0-862認定試験   1Z0-862

NO.17 What are two communication modes supported by JAX-WS? (Choose two.)
A. Synchronous RPC
B. Dynamic Service Binding
C. Dynamic Proxy
D. Endpoint Invocation
E. Dispatch
Answer: C,E

Oracle参考書   1Z0-862認定資格   1Z0-862認定試験   1Z0-862参考書

NO.18 What are two features of a WSDL 1.1 document? (Choose two.)
A. Service defines a collection of related endpoints.
B. Service describes the message's payload using XML.
C. Service assigns an Internet address to a specific binding.
D. Porttype declares complex data types and elements used elsewhere.
E. Porttype elements are used to group a set of abstract operations.
F. Porttype defines a concrete protocol and data format specification.
Answer: A,E

Oracle認証試験   1Z0-862   1Z0-862認定証   1Z0-862

NO.19 Which situation requires the client to use the Dispatch interface to access the Web
service?
A. The client and the server are on different platforms.
B. The client has access to the portable artifacts, but not to the WSDL.
C. The client has access to the WSDL, but not to the portable artifacts.
D. The client will access a REST-based service.
Answer: D

Oracle   1Z0-862過去問   1Z0-862   1Z0-862

NO.20 A developer must create a new stock monitoring application using SOAP.
Given the code:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/
"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://sun.cert/"
>
<s:Header>
<ns1:transaction>
<user>root</user>
<transid>9b3e64e326537b4e8c0ff19e953f9673</transid>
</ns1:transaction>
</s:Header>
<s:Body>
<m:StockQuote xmlns:m="http://sun.cert/bar/"
>
<Quote>
<ns1:symbol>SUNW</ns1:symbol>
<ns1:companyname name="Sun"/
>
</Quote>
</s:Body>
</s:Envelope>
Which statement is true about this SOAP message?
A. It is NOT well-formed.
B. It contains a mandatory header block.
C. It is WS-I Basic Profile 1.1 compliant.
D. It does NOT contain the correct namespace declarations.
E. The transid should be blowfish encrypted.
F. http://sun.cert/bar/ is not a valid stock quote service.
Answer: A

Oracle   1Z0-862認定試験   1Z0-862練習問題

2013年7月14日星期日

Oracle certification 1Z0-861 exam training methods

In order to pass the Oracle 1Z0-861 exam, selecting the appropriate training tools is very necessary. And the study materials of Oracle 1Z0-861 exam is a very important part. IT-Tests.com can provide valid materials to pass the Oracle 1Z0-861 exam. The IT experts in IT-Tests.com are all have strength aned experience. Their research materials are very similar with the real exam questions . IT-Tests.com is a site that provide the exam materials to the people who want to take the exam. and we can help the candidates to pass the exam effectively.


If you have decided to participate in the Oracle 1Z0-861 exam, IT-Tests.com is here. We can help you achieve your goals. We know that you need to pass your Oracle 1Z0-861 exam, we promise that provide high quality exam materials for you, Which can help you through Oracle 1Z0-861 exam.


Never say you can not do it. This is my advice to everyone. Even if you think that you can not pass the demanding Oracle 1Z0-861 exam. You can find a quick and convenient training tool to help you. IT-Tests.com's Oracle 1Z0-861 exam training materials is a very good training materials. It can help you to pass the exam successfully. And its price is very reasonable, you will benefit from it. So do not say you can't. If you do not give up, the next second is hope. Quickly grab your hope, itis in the IT-Tests.com's Oracle 1Z0-861 exam training materials.


Oracle 1Z0-861 exam is a Technical Specialist exam. Oracle 1Z0-861 exam can help and promote IT staff have a good career. With a good career, and of course you can create a steady stream of corporate and national interests, so as to promote the development of the national economy. If all of the IT staff can do like this the state will become stronger. IT-Tests.com Oracle 1Z0-861 exam training materials can help IT personnel to achieve this purpose. We guarantee you 100% to pass the exam. Make the tough decision to choose our IT-Tests.com Oracle 1Z0-861 exam training materials please.


1Z0-861 exam is a new turning point in the IT industry. Get this examination certification, you will become the IT industry's professional high-end person. With the spread and progress of information technology, you will see hundreds of online resources which provide Oracle 1Z0-861 questions and answers. While IT-Tests.com ahead. The reason people choose IT-Tests.com Oracle 1Z0-861 exam training materials is that it can really bring benefits to them, and to help you come true your dreams as soon as possible!


Many candidates who are ready to participate in the Oracle certification 1Z0-861 exam may see many websites available online to provide resources about Oracle certification 1Z0-861 exam. However, IT-Tests.com is the only website whose exam practice questions and answers are developed by a study of the leading IT experts's reference materials. The information of IT-Tests.com can ensure you pass your first time to participate in the Oracle certification 1Z0-861 exam.


Exam Code: 1Z0-861

Exam Name: Oracle (Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade Exam)

1Z0-861 (Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade Exam) Free Demo Download: http://www.it-tests.com/1Z0-861.html


NO.1 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 dumps   1Z0-861   1Z0-861   1Z0-861   1Z0-861   1Z0-861 test answers

NO.2 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

Oracle study guide   1Z0-861   1Z0-861

NO.3 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

Oracle   1Z0-861 demo   1Z0-861 braindump

NO.4 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

Oracle   1Z0-861 exam prep   1Z0-861   1Z0-861 original questions

NO.5 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   1Z0-861   1Z0-861 exam simulations   1Z0-861

NO.6 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 exam simulations   1Z0-861 test answers   1Z0-861 demo

NO.7 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 certification training   1Z0-861 certification training

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 study guide   1Z0-861   1Z0-861 exam simulations   1Z0-861 exam dumps   1Z0-861

NO.9 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 practice test   1Z0-861 test questions   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 questions   1Z0-861 exam prep   1Z0-861 original questions   1Z0-861   1Z0-861 study guide

NO.11 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 dumps   1Z0-861   1Z0-861 test answers   1Z0-861 answers real questions   1Z0-861 certification training

NO.12 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 exam simulations   1Z0-861   1Z0-861 certification training

NO.13 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 exam   1Z0-861 certification training   1Z0-861 test   1Z0-861 questions   1Z0-861 braindump

NO.14 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   1Z0-861   1Z0-861 exam dumps   1Z0-861 test questions   1Z0-861

NO.15 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   1Z0-861   1Z0-861 pdf   1Z0-861   1Z0-861   1Z0-861

NO.16 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

Oracle questions   1Z0-861   1Z0-861 exam simulations   1Z0-861 original questions

NO.17 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 certification   1Z0-861   1Z0-861   1Z0-861   1Z0-861

NO.18 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 exam simulations   1Z0-861 test answers   1Z0-861

NO.19 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 original questions   1Z0-861 exam dumps   1Z0-861   1Z0-861

NO.20 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   1Z0-861   1Z0-861 answers real questions   1Z0-861 answers real questions

Are you IT person? Do you want to succeed? If you want to succeed, please do to buy Pass4Tes's Oracle 1Z0-861 exam training materials. Our training materials have through the test of practice. it can help you to pass the IT exam. With the IT-Tests.com's Oracle 1Z0-861 exam training materials, you will have better development in the IT industry. You can enjoy the treatment of high-level white-collar, and you can carve out a new territory in the internation. Are you still worried about your exam? IT-Tests.com's Oracle 1Z0-861 exam training materials will satisfy your desire. We are through thick and thin with you and to accept this challenge together .