CertGear Systems - Certification Practice Tests /Exams For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMP Test Prep Products Built To Satisfy The Most Demanding Professional.
Certification Practice Tests For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMP
CertGear Products - Certification Practice Tests For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMPCertGear Products - Certification Practice Tests For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMPAbout CertGearCertGear Affiliates ProgramCertGear Technical SupportCertGear Product Downloads - Certification Practice Tests For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMP
Mock Exams
PHR Certification
SPHR Certification
SCJP Practice Tests
SCWCD Practice Tests
SCBCD Practice Tests
SCDJWS Practice Tests
PMP Practice Test
GPHR Practice Tests
|CISSP Practice Tests CISA Practice Tests

SCWCD Certification Practice Tests SCWCD Study Guide (CX-310-081)

 
 EJB Security Quiz  

EJB Security Quiz:

Which of the following statements are true regarding EJB 2.0 security?

A) Individual overloaded methods with the same method name can be assigned different permissions
B) Individual overloaded methods with the same method name CANNOT be assigned different permissions if the same method name exists across multiple interfaces. (i.e. Home, component interfaces)
C) An asterisk ("*") used in the <method-name> element is considered a wildcard that can be used to refer to all methods in the bean's interfaces.
D) If a method exists in both the Home and Component interfaces, both methods must always be assigned the same method permissions.

  • [Ans: A, C]

  • Individual overloaded methods with the same method name can be assigned different permissions. Even if the method is overloaded across multiple interfaces, each of the individual methods can be assigned different method permissions using the <method-intf> element. An asterisk ("*") used in the <method-name> element is considered a wildcard that can be used to refer to all methods in the bean's interfaces.

    Examples:

    <method>
    <ejb-name> Catalog </ejb-name>
    <method-intf>Remote </method-intf>
    <method-name> listItems </method-name>
    </method>
     
    <method>
    <ejb-name> Catalog </ejb-name>
    <method-name> *</method-name>
    </method>
     



BACK    |    NEXT

 


 

  HRCI Certifications :  PHR, SPHR, GPHR   |    PMI Certifications: PMP
Java Certifications :  SCWCD, SCBCD, SCJDWS, SCJP  | Security Certifications: CISSP, CISA