31.12.2014 Views

BEA 0B0-101 Exam

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

www.CertifySchool.com Certification Preparation Material (PDF)<br />

Question: 1<br />

Consider the following deployment descriptor excerpts from the expenseReport entity bean. Only one methodpermission<br />

has been set, Ernesto is an end user, accountingGroup is a group. ejb-jar.xml entries: <br />

client weblogic-ejb-jar.xml entries: <br />

client renestoaccounting<br />

Group Which statement is true<br />

A. accountingGroup is a group of security roles.<br />

B. All users can call findByPrimaryKey for this Bean.<br />

C. AccountingGroupis group pf registered security realms.<br />

D. Only the user Ernesto can invoke all the methods of the Bean.<br />

E. If Ernesto does not exist in the nderlying security realm, an exception is generated at<br />

deployment.<br />

Question: 2<br />

Answer: B<br />

Consider the following JPF action code: Protected Forward storePhone (UserData userobject) { HttpSession<br />

userSession = this.getSession ( ) ;UserSession.SetAttributes ("telephone";userobject.getphone ( ) } ;Return new<br />

Forwar ("success") ; }With which JSP tag can you access the session attribute<br />

A. <br />

B. <br />

C. <br />

D. <br />

E.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!