최신Oracle Java EE 6 Enterprise JavaBeans Developer Certified Expert - 1Z0-895무료샘플문제
문제1
Which statement is correct about a Java EF client of a message driven bean?
Which statement is correct about a Java EF client of a message driven bean?
정답: C
문제2
An enterprise developer has received ejb-jars from multiple Bean Provides and wants to combine them into a single ejb-jar as well as altering the method permissions on some of the beans without recompiling any of the code contained in the ejb-jar. Which is correct?
An enterprise developer has received ejb-jars from multiple Bean Provides and wants to combine them into a single ejb-jar as well as altering the method permissions on some of the beans without recompiling any of the code contained in the ejb-jar. Which is correct?
정답: E
설명: (KoreaDumps 회원만 볼 수 있음)
문제3
MyMsg is a JMS message-driven bean with container-managed transaction demarcation. FooBean is an EJB 3.x stateless session bean that sends message to the JMS destination with MyMsgBean is associated.
MyMsgBean's message listener method has transaction attribute REQUIRED, and is defined as follows:
10.
public class MyMsgBean implements javax.jms.messageListener {
11.
public void onMessage(javax.jms.Message message) {
12.
/ / do some work not shown here
13.
thrown new RuntimeException("unexpected error . . . ");
14.
}
Which statement is true about the result of message processing?
MyMsg is a JMS message-driven bean with container-managed transaction demarcation. FooBean is an EJB 3.x stateless session bean that sends message to the JMS destination with MyMsgBean is associated.
MyMsgBean's message listener method has transaction attribute REQUIRED, and is defined as follows:
10.
public class MyMsgBean implements javax.jms.messageListener {
11.
public void onMessage(javax.jms.Message message) {
12.
/ / do some work not shown here
13.
thrown new RuntimeException("unexpected error . . . ");
14.
}
Which statement is true about the result of message processing?
정답: B
설명: (KoreaDumps 회원만 볼 수 있음)
문제4
A developer creates a stateless session bean, EmployeeServiceBean, and its interface, EmployeeService. The session bean uses two annotated entity classes, Employee.class and Department.class.
Which two package options can the developer use when creating a deployable EAR? The proposed directory structure is listed for each option. (Choose two)
A developer creates a stateless session bean, EmployeeServiceBean, and its interface, EmployeeService. The session bean uses two annotated entity classes, Employee.class and Department.class.
Which two package options can the developer use when creating a deployable EAR? The proposed directory structure is listed for each option. (Choose two)
정답: A,B
문제5
You are writing an EE component that functions as a message producer. The message producer sends message to a JMS queue. The component environment defines a resource-ref of type javax.jms.ConnectionFactory with the same jms/ConnectionFactory.
Which will correctly obtain a connection factory for a queue?
You are writing an EE component that functions as a message producer. The message producer sends message to a JMS queue. The component environment defines a resource-ref of type javax.jms.ConnectionFactory with the same jms/ConnectionFactory.
Which will correctly obtain a connection factory for a queue?
정답: B
문제6
Which statement is true about both stateful session beans and stateless session beans?
Which statement is true about both stateful session beans and stateless session beans?
정답: C
문제7
You are writing a client that sends a message to a JMS queue. Which statement is true?
You are writing a client that sends a message to a JMS queue. Which statement is true?
정답: A
설명: (KoreaDumps 회원만 볼 수 있음)
문제8
FooBean and BarBean are both EJB 3.x stateless session beans with bean-managed transaction demarcation. The business method foo in FooBean starts a UserTransaction and invokes the business method bar in BrBean.
Given: What is the expected result of this method invocation assuming control reaches Line 12?

FooBean and BarBean are both EJB 3.x stateless session beans with bean-managed transaction demarcation. The business method foo in FooBean starts a UserTransaction and invokes the business method bar in BrBean.
Given: What is the expected result of this method invocation assuming control reaches Line 12?

정답: C
설명: (KoreaDumps 회원만 볼 수 있음)
문제9
You have been tasked to build a jar file that can be used by a Java SE client to access the remote instance of the OrderProcessingBean. Given the following design: Which classes would need to be included in the client jar file?

You have been tasked to build a jar file that can be used by a Java SE client to access the remote instance of the OrderProcessingBean. Given the following design: Which classes would need to be included in the client jar file?

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