최신Oracle Java EE 6 Enterprise JavaBeans Developer Certified Expert - 1Z0-895무료샘플문제
문제1
Which statement about message-driven beans is correct?
Which statement about message-driven beans is correct?
정답: B
문제2
MyMsgBean is a JMS message-driven with container-managed transaction demarcation. FooBean is an EJB 3.x stateless session bean that sends messages to the JMS destination with which
MyMsgBean is associated.
MyMsgBean's message listener method has transaction attribute REQUIRED, and is defined as follows:

Which statement is true about the result of the message processing?
MyMsgBean is a JMS message-driven with container-managed transaction demarcation. FooBean is an EJB 3.x stateless session bean that sends messages to the JMS destination with which
MyMsgBean is associated.
MyMsgBean's message listener method has transaction attribute REQUIRED, and is defined as follows:

Which statement is true about the result of the message processing?
정답: B
설명: (ExamPassdump 회원만 볼 수 있음)
문제3
An enterprise bean has security permissions set up using declarative security features.
Under which two conditions can a client be guaranteed to have permission to invoke a business method on the enterprise bean? (Choose two.)
An enterprise bean has security permissions set up using declarative security features.
Under which two conditions can a client be guaranteed to have permission to invoke a business method on the enterprise bean? (Choose two.)
정답: C,D
문제4
A developer wants to release resources within a stateless session bean class. The cleanup method should be executed by the container before an instance of the class is removed. The deployment descriptor is NOT used.
Which three statements are correct? (Choose three.)
A developer wants to release resources within a stateless session bean class. The cleanup method should be executed by the container before an instance of the class is removed. The deployment descriptor is NOT used.
Which three statements are correct? (Choose three.)
정답: B,E,F
문제5
Given an JMS message-driven bean, which statement is true about its exception handling?
Given an JMS message-driven bean, which statement is true about its exception handling?
정답: D
문제6
A developer writes a stateless session bean with one local business interface and with container-managed transactions. All business methods have transaction attribute REQUIRED. The bean has an injected field sessionCtx of the type SessionContext. Which two operations are allowed in a business method of the bean? (Choose two.)
A developer writes a stateless session bean with one local business interface and with container-managed transactions. All business methods have transaction attribute REQUIRED. The bean has an injected field sessionCtx of the type SessionContext. Which two operations are allowed in a business method of the bean? (Choose two.)
정답: B,D
설명: (ExamPassdump 회원만 볼 수 있음)
문제7
Given the stateful session bean:

Assuming no other transaction-related metadata, which is true?
Given the stateful session bean:

Assuming no other transaction-related metadata, which is true?
정답: B
문제8
An enterprise developer needs to modify the order of interceptor method execution specified by the Bean Provider, but does NOT have access to the bean's source code. No deployment descriptor was provided in the EJB jar delivered by the Bean Provider.
Which represents the solution to this problem?
An enterprise developer needs to modify the order of interceptor method execution specified by the Bean Provider, but does NOT have access to the bean's source code. No deployment descriptor was provided in the EJB jar delivered by the Bean Provider.
Which represents the solution to this problem?
정답: D
문제9
A developer writes an interceptor class and a stateless session bean: A client acquires an EJB reference to the FooLocal business interface and invokes the foo() method one time. Which describes the output?

A developer writes an interceptor class and a stateless session bean: A client acquires an EJB reference to the FooLocal business interface and invokes the foo() method one time. Which describes the output?

정답: B
설명: (ExamPassdump 회원만 볼 수 있음)