高級IT 専門家は高いユーザビリティ、運行と性能と高容量の管理などの方面で複雑な仕事を展開する能力を掌握することを求めます。高級IT専門家の認証は1つの作業室と筆記試験と実行試験からなっています

高い品質の 000-287 試験

Killtestの値段が高くなく、量も適切で、しかし、範囲の広さが特徴です。問題集の答えを覚えるならば、クリアすることを保証致します。

Killtest試験のCertified Enterprise Developer 認証のネットの補佐000-287は最高の標準的な技術に応じて書いて入ります、000-287中すべての重要知識を含み、認定関連例題の分析も加えられました。弊社は最新の000-287試験問題で正しい解答が付け加えています。

下記は本試験の問題でございます、皆と分かち合いします

1.A developer discovers that an exception being thrown from a business method on an entity
bean does not cause the transaction to rollback; a rollback was expected. What would correct this
problem?
A.Ensure that the business method throws an instance of javax.jts.TransactionRolledbackException.
B.Ensure that the business method marks the current transaction for rollback by calling the
setRollbackOnly() method on the EJBContext.
C.Call rollback() on the current UserTransaction object.
D.Call rollback() on the EJBContext.
E.call setRollbackOnly() on the UserTransaction object.
Correct:B
2.A developer is writing a task() method, in a session bean, which makes use of several entity
beans to perform a task. The session bean must record the invocation of the task using a
LogEntry entity bean. The log entry must NOT be made if the task fails. Assume that the LogEntry
bean is configured with 'Supports'. In order to GUARANTEE this behavior, the task() method of the
session bean should be configured as:
A.bean-managed transaction and explicitly begin an UserTransaction before creating the LogEntry
instance and performing the task logic. Finally, have the task() method commit or rollback the transaction
based on the success/failure of the task.
B.'Supports'. Within the task() method, create the LogEntry instance and perform the task logic. Finally,
have the task method() call sessionContext.setRollBackOnly() if the task logic fails.
C.'RequiresNew'. Within the method, create the LogEntry instance and perform the task logic. Finally,
have the task() method call sessionContext.setRollBackOnly() if the task fails.
D.'Mandatory'. Within the method, create the LogEntry instance and perform the task logic. Finally, have
the task() method call sessionContext.setRollBackOnly() if the task fails.
Correct:A C
3.While developing an EJB for an EJB 2.0 compliant server, a developer runs into a problem.
Whenever the method ejbContext.getUserTransaction() is called, an IllegalStateException is
thrown. Which of the following are possible causes for this behavior?
A.The bean is an entity bean.
B.The bean is a session bean.
C.A transaction has not been started.
D.Container-managed transaction demarcation is being used.
Correct:A D