CertGear - 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
SCBCD CX-310-090 Sun Certified Business Component Developer SCBCD Certification SCBCD Tests SCBCD Mock Exams Free SCBCD Questions Practice Exams| PHR Practice Tests | SPHR Practice Tests | SCJP Practice Tests | SCWCD Practice Tests | SCBCD Practice Tests | SCDJWS Practice Tests | PMP Practice Test| GPHR Practice Tests

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

 

 

 

 

 

 

 

 

 
 SCBCD Certification Practice Test  

Features Of CertGear's SCBCD (CX-310-090) Certification Practice Test

  • Learn As You Go - Detailed explanations tell you not just the right answer, but why the right answer is right and the wrong answers are wrong. References for further study are also provided.

  • Customized Options - You decide the way you want to take the testing including:
    Timed, Live scoring, Randomization, Ask Incorrect, Show Answer, Select # of questions.

  • Ask Only The Questions You Got Wrong - This is a great feature. At the end of the exam, instead of being asked every question again, you can tell the test engine to only ask you questions that you got incorrect.

  • Randomization - The tests in our certification mode are dynamic, not fixed like some other practice tests are, so you'll get a new test every time. Each test is timed and the objectives are weighted the same as on the real exam.

  • History - The test engine keeps a history of all the exams and scores you have achieved on those tests. You can easily track your progress and help determine when you are ready to take the actual exam.

  • Categories - Many tests contain categories for you to selectively study topics. Additionally, you can see your grade in each category at the end of the exam.

  • Graphic Scoring - Graphical Breakdown Of Exam Results To Pinpoint Areas To Focus Your Study Effort..

  • Updates - Keep Up-To-Date With The Most Current And Most Accurate Exam Questions / Answers / Explanations With Complimentary Product Updates.

 


Free SCBCD Certification Practice Questions:

Consider the following snippet of deployment descriptor describing a CMR relationship between a Person and Phone:

<ejb-relation>

<description>Phone numbers of Person </description>
<ejb-relationship-role>
<ejb-relationship-role-name>PersonBean</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>PersonBean</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>phones</cmr-field-name>
<cmr-field-type>java.util.Collection </cmr-field-type>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>PhoneBean </ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<cascade-delete />
<relationship-role-source>
<ejb-name>PhoneBean</ejb-name>
</relationship-role-source>
</ejb-relationship-role>
</ejb-relation>

Which of the following statements are true?

A) The container expects the following accessor signatures:

public abstract Phone getPhones();
public abstract void setPhones(Phone phones);


B) Since a <cascade-delete> is defined, if a Phone object is deleted, the Person object will automatically be deleted.
C) The cascade-delete operation will NOT work in this situation as the relationship between phone and person is a many-to-many relationship
D) The Person bean can access the Phone object through its CMR fields using the abstract getters and setters in the ejbCreate() method.
E) None of the statements are true
  • [Ans: E]

  • Explanation: The <cmr-field> tag, defines the name of the CMR field that implements access to the relationship. The name provided is used to define the names of the CMR accessors and the type of the relation. In the example shown above, the CMR field name is phones and the type is Collection, so the container expects the following accessor signatures:

    public abstract Collection getPhones();
    public abstract void setPhones(Collection phones);


    The <cascade-delete> tag indicates that the role source object is deleted when the object on the other end of the relationship is deleted. In this example, when a Person object is deleted, all associated Phone objects are automatically deleted. However, the reverse is NOT true. if a Phone object is deleted, the Person object is NOT automatically deleted.
    The cascade delete operation should work correctly. One of the requirements for the cascade delete operation is that the other role in the relationship has a multiplicity of 'One'. In this example, a Phone object can ONLY belong to one person. Since a phone object cannot exist without a person, if the person object is deleted, the corresponding phone object will be deleted.

    A bean cannot access its CMR fields in the ejbCreate() method. The abstract getters and setters for the CMR fields cannot be used in the ejbCreate() method. However, in the ejbPostCreate() method, a bean can access all its CMR fields through its abstract getters and setters.

    References: http://java.sun.com/developer/technicalArticles/ebeans/EJB20CMP/

 

BACK    |    NEXT

For Additional SCBCD Certification Practice Questions, Please Download A Free Copy Of Our SCBCD Exam Simulator (375+ Questions):

[SCBCD Certification Practice Test]     [Buy Now | Download]


 

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