最新的Oracle Java EE 6 Enterprise JavaBeans Developer Certified Expert - 1Z0-895免費考試真題

問題1
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)

正確答案: B,C
問題2
Which is a correct way to define a runtime exception as an EJB 3.x application exception?

正確答案: C
說明:(僅 PDFExamDumps 成員可見)
問題3
A developer implements a session bean which acts as a session facade for an application. This means that clients will only see this session bean's interface which offers the application interface, where are three distinct roles known at development time: "user", "admin", and "guest". The majority of the methods will be used by role "user". All methods must have role permissions active and roles may be added or changed in the future.
Which two scenarios are correct? (Choose two.)

正確答案: A,E
問題4
Given a session bean defines:
11.
@Stateless (name = "MrBean")
12.
public class source SecureBean implements local business, remoteBusiness {
Where LocalBusiness is a local business interface and RemoteBusines is a remote business interface.
The following deployment descriptor entries represent the only security-related metadata: Which is true about the security roles of clients MrBean?

正確答案: C
問題5
Which two are true about the client view of a message-driven bean? (Choose two.)

正確答案: B,D
問題6
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?

正確答案: A
問題7
A developer creates a stateful session bean that is used by many concurrent clients. The clients are written by other development team; and it is assumed that these clients might not remove the bean when ending their session. The number of concurrent sessions will be greater than the defined bean cache size.
The developer must consider that the state of the session bean can be influenced by either passivation or timeout.
Which three actions should the developer take to make the bean behave correctly in passivation and timeout situations? (Choose three.)

正確答案: A,C,D
問題8
Given an JMS message-driven bean, which statement is true about its exception handling?

正確答案: B
問題9
You are writing a client that sends a message to a JMS queue. The client includes the following code snippet:

正確答案: D
說明:(僅 PDFExamDumps 成員可見)

專業認證

PDFExamDumps模擬測試題具有最高的專業技術含量,只供具有相關專業知識的專家和學者學習和研究之用。

品質保證

該測試已取得試題持有者和第三方的授權,我們深信IT業的專業人員和經理人有能力保證被授權産品的質量。

輕松通過

如果妳使用PDFExamDumps題庫,您參加考試我們保證96%以上的通過率,壹次不過,退還購買費用!

免費試用

PDFExamDumps提供每種産品免費測試。在您決定購買之前,請試用DEMO,檢測可能存在的問題及試題質量和適用性。