1Z0-895 試験問題を無料オンラインアクセス

試験コード:1Z0-895
試験名称:Java EE 6 Enterprise JavaBeans Developer Certified Expert
認定資格:Oracle
無料問題数:90
更新日:2026-05-23
評価
100%

問題 1

A developer impalements an asynchronous implementation for calculating insurance proposals. The input data for the calculations is made available on a single message queue. Two types of insurance proposals will be calculated: car and life. Message with data for other insurance types are posted on the queue but should be left on the queue by this implementation.
Which statement is true?

問題 2

A developer needs to deliver a large-scale enterprise application that connects developer chooses an EJB 3.1-compliant application server, which three are true about the EJB business component tier? (Choose three.)

問題 3

Given the following stateful bean:
10.
@Stateful
11.
@TransactionAttribute(TransactionAttributeType.SUPPORTS)
12.
public class VideoBean implements video {
13.
/ / insert code here
14.
public void method () {}
15.
}
Assuming no other transaction-related metadata, which code can be added at line 13 to guarantee that business method methodA will execute only if invoked with an active transaction?

問題 4

A developer writes a stateful session bean FooBean with one remote business interface Foo. Foo defines an integer / setter method pair implemented as:
10.
private int value;
11.
public void setValue (int i) {value = i; }
12.
public int getValue () {return value; }
A session bean ClientBean has a business method doSomething and an ejb-ref with ejb-ref-name "fooRef" that is mapped to FooBean's Foo interface.
11.
@Resource private SessionContext SessionCtx;
12.
public void doSomething () {
13.
Foo foo1 = (Foo) sessionCtx.lookup("fooRef");
14.
Foo foo2 = (Foo) sessionCtx.lookup("fooRef");
15.
foo1.setvalue(1);
Which statement is true after the code at line 15 completes?

問題 5

A developer implements a CMT session bean with a method storeBoth which inserts data both a related database and an LDAP server. The relational database supports transactions while the LDAP system does NOT.
Given that both updates should succeed or be rolled back, while is the best solution?

コメントを追加

あなたのメールアドレスが公開されることはありません。個人情報に関する内容は隠されます *

insert code
画面にある文字を入力してください。