SCBCD exam question..problem

Hi all,
I'm learning to SCBCD 5.0 cert. Now I'm doing some example questions. And I have a problem with it. I know what is the correct answer.., but I'd like to understand..
why the rest is incorrect. If someone could explain that to me.., that would be great. (ex. Answer c - Incorrect because............)
Question:
A developer writes a stateless session bean with one local business interface and with container-managed transactions. All business methods have transaction attribute REQUIRED. The bean has an injected field sessionCtx of the type SessionContext. Which two operations are allowed in a business method of the bean ? (choose two):
a) sessionCtx.getEJBObject
b) sessionCtx.setRollbackOnly
c) sessionCtx.getMessageContext
d) sessionCtx.getBusinessObject
e) sessionCtx.getEJBLocalObject
Thanks a lot. (Please don't give me correct answer.., I know this one.., but explanation.., why A is incorrect..., ans so on)
Regards,
Pawel

a) is incorrect because getEJBObject() only applies to a bean that exposes a 2.x Remote view. This bean only exposes a 3.0 Local Business view.
c) is incorrect because getMessageContext() only applies to a bean that implements a web service endpoint.
e) is incorrect because getEJBLocalObject() only applies to a bean that exposes a 2.x Local view.
Use of these methods from a business method of this bean would result in an exception.

Similar Messages

  • Exam question - follow-up point

    Have now resolved the previous coding problem...many thanks to all who helped and aided my understanding.
    as a follow-up question -
    is it possible to reference "Sets" as an object in a "Map"
    the exam question requires a "Map" to be created referencing a String "studentName" and the collection of books that the "student" has read (see previous coding question - http://forum.java.sun.com/thread.jspa?threadID=5196761)
    current code is as follows (the Map studentRecords has previously been referenced as a private instance variable):-
    public void createReadingRecords()
    String studentName;
    Set<String> booksRead = new HashSet<String>();
    do
    studentName = (OUDialog.request("Please input the student name or * to finish","));
    while
    (!studentName.equals("*"));
    booksRead = this.collectBooksRead();
    studentRecords.put(studentName,booksRead);
    }

    The Set is the "value" of the map, which is stored under a "key", which is the student name. You can use the get(key) method of the map to retrieve the value associated with that key, or you can get a collection of all the values with the values() method.

  • Microsoft Exam Questions On Functionality That Doesn't Work!

    What does a student do if they are tested, in a Microsoft exam, on functionality that's known not to work?!
    It seems absurd that Microsoft is doing this.

    Assume it does work when you take the exam.
    How can functionality that doesn't work outside of the exam suddenly and mysteriously work in the exam? that doesn't make sense!
    Turn a blind eye toward "real world" experiences in these types of cases.
    Turning a blind eye to functionality that doesn't work isn't the correct solution: fixing the software or removing the question
    from the exam is.
    Be sure to mark the exam questions that you disagree with.
     - and what happens if the student concerned did not think to do this at this time but only after she had time
    to think about it afterwards?
    Thank you for your contribution but I feel that it does not really address the problem I have highlighted.

  • Hi team , I have some questions/Problem for my product apple (iPad,iPhone) , I want to employee speak and type thai language

    Hi team , I have some questions/Problem for my product apple (iPad,) , I want to employee that can  speak  or response me in thai language
    1. ผม อาคเนย์  พำนักอยู่ประเทศไทย กรุงเทพฯ  มีปัญหาสอบถาม ดังต่อไปนี้
       - กระผมได้ทำการตัดบัตร เครดิต เพื่อซื้อเกมส์ผ่าน itune store ผ่าน apple itune ID : misskor.yaprom@*** เพื่อซื้อเกมส์ Eleves Realm ในวันที่18 ก.ค. 56 เวลา 17.07น. ซึ่งทางบัตรเครดิตได้แจ้งเรียกเก็บเงินมายอดเงิน 39.99$ ซึ่งในระบบจริงๆ ทางกระผมต้องการตัดในยอด 99.99$ แต่พอได้ประสานงานไปยังธนาคาร ได้รับการแจ้งกลับมาว่า ได้ทำการตัดบัตรในยอดเงิน 39.99$ ซึ่งในความเป็นจริงนั้น กระผมไม่ได้สั่งซื้อเกมส์ในยอด 39.99$ ซึ่งในยอด 99.99$ นั้นพยายามตัดในระบบบัตรเครดิตอยู่ แต่ทางกระผมได้ยืนยันกลับไปว่าไม่ให้ระบบตัดนะครับ เพราะว่าเนื่องจากมีปัญหาในการชำระเงินระหว่าง Apple itune store อยู่
       - ทั้งนี้ขอให้ทางเจ้าหน้าที่ประสานงานตรวจสอบ apple itune ID : misskor.yaprom@*** เพื่อซื้อเกมส์ Eleves Realm ตามที่ได้ให้รายละเอียดโดยด่วนว่าเป็นเพราะว่าระบบมีปัญหาหรือว่ามีอะไรเกิดขึ้นในข ั้นตอนการชำระเงินครับ
    รบกวนประสานงานกลับมายังกระผม อาคเนย์ ที่หมายเลขโทรศัพท์มือถือ +**** / reply feedback  email : lekod1@*** โดยด่วน ในวันศุกร์ที่ 19 ก.ค. 2556 ครับ
    ขอบคุณครับ
    อาคเนย์  อุดปิน
    กด
    <Edited By Host>

    Google translation:
    พนักงานของ iTunes Store จะไม่ได้อ่านข้อความในเว็บบอร์ดนี้ ถ้าคุณต้องการความช่วยเหลือสำหรับปัญหาที่มีใน iTunes Store, คุณจะต้องติดต่อกับพวกเขาผ่านทางแบบฟอร์มเว็บนี้:
    http://www.apple.com/emea/support/itunes/contact.html

  • REQ SAP FI MODULE- CERTIFICATION EXAM QUESTIONS AND ANSWERS

    REQ SAP FI MODULE- CERTIFICATION EXAM QUESTIONS AND ANSWERS
    Moderator: We should be thankful that you don't require to solve the exam for you

    Please type "certification" in the search field, you can find many threads regardding this.

  • Question / problems with the Toshiba TV 40TL938 (40TL938F)

    Hi everybody,
    I bought the Toshiba TV 40TL938 french version ( 40TL938F ), in an online store.
    I have a few question / problem, and i hope you could help me.
    - when i play MKV vido files via USB, integrated subtitles works well but for me they are too small, too thin and too white. Can i make them biger, larger and with a black shadow around it ? if yes, how could i do this ?
    - when i play MKV vido files via DLNA (with XBMC), there is no subtitles anymore. Whose fault is it ? my TV ? XBMC ? do you how i can fix this ?
    - does anybody know if DTS will be supported sooner or later on 2012 toshiba TV models such as my 40TL938
    Thank you very much by advance for your help !
    Backslash
    French user of a beautiful Full HD 3D 40 inches toshiba LED TV :)

    > {quote:title=TomDexter wrote:}{quote}
    > > when i play MKV vido files via USB, integrated subtitles works well but for me they are too small, too thin and too white. Can i make them biger, larger and with a black shadow around it ? if yes, how could i do this ?
    >
    > User manual page 76:
    > http://www.toshiba-om.net/LCD/PDF/English/TL938-4046-English.pdf
    > You will need to check the option: +Subtitle Type+
    Hi !
    Thank you for your answer,
    I saw this but there is no way to change the subtitle setting.
    In "subtitle type" the only thing i can do is to swich from "normal" to "deaf and hearing impaired" ("sourd et malentendant" in french).
    So i guess i will have to get used to it
    Anyway, thank you for your help !
    > {quote:title=donhe7 wrote:}{quote}
    > BACKSLASH ASKS " does anybody know if DTS will be supported sooner or later on 2012 toshiba TV models such as my 40TL938?"
    >
    > Please excuse my ignorance, but what is "DTS"???
    >
    > donhe7
    DTS is an audio format, such as AC3 or mp4. This TV doesn't support DTS, so when i play movie (such as MKV file) with audio in DTS, there is no sound (but the video is ok).

  • BI - Exam Questions & Tips

    Hai Friends
      I am going to take BI Certification Exam next Week. If any one has got model exam questions or tips about the exam, please write to me at
    [email protected]
    Thanks in advance
    A.Bharath

    Steve,
    The forum is full of threads on Certification (Just do a search on those key words and you will get myriads of results).
    I was wondering however what is the value of a BW 3.0 certification.
    BW 3.0 is an outdated version, and i am skeptical about its value in the labour market.
    I would opt for either a BW 3 .5 or a NW2004S (if you have experience on this version) certification.
    Hope it helps (points are welcome),
    Gili

  • Oracle 1Z0-242 Exam Questions (PeopleSoft Application Developer II )

    Folks,
    Hello. I am working on 1Z0-242 exam. I have freely downloaded the exam questions for PeopleCode and Application Engine. But I cannot find any questions for Integration Tools.
    Do any folks know where to freely download 1Z0-242 exam questions for Integration Tools ? Or, do any folks have taken 1Z0-242 exam and have a copy of 1Z0-242 exam questions ? Please let me know.
    Thanks in advance.

    Hi,
    Did you get all the Q&A for this exam? Could you please share what you got for free?
    or you can tell me where to download from.
    Thanks,

  • Practice exam questions for OCA 10g exam

    looking for practice exam questions for OCA 10g exam

    Hub wrote:
    You can also use the Self Test Software would like to offer you a 25% discount on the purchase of any Oracle test prep products when you go to
    http://www.selftestsoftware.com/promos/Oraclescore_1015_bhc9.asp.
    or http://www.selftestsoftware.com/dept.aspx?dept_id=6080
    SelfTestSoftware and Transcender exams are already listed in the second link referenced above.

  • Puzzled by exam question

    Hi,
    Below is an exam question I am puzzling over at the moment.... I know the output of this code snippet produces 0 : 0 : 3, but what I dont understand is why!
    My best guess so far is that the JButton and the JToggleButton are not initialised fully and are therefore not picked up as such. But that they all are Objects as soon as they are created and so are counted as such.
    Could anyone offer me a solution?
    import javax.swing.*;
    public class Toast
         static Object[] objects = {new JButton(), new JToggleButton(), new Object()};
         public static void main (String args[])
              System.out.println(new count(objects));
         public static class count
              int b=0, t=0, o=0;
              public count(Object[] objects)
                   for (int i=0; i<objects.length; i++)
                   count(objects);
              public void count(JButton x)
                   b++;
              public void count(JToggleButton x)
                   t++;
              public void count(Object x)
                   o++;
              public String toString()
                   return b+" : "+t+" : "+o+"\n";
    Thanks in advance
    Stuart

    SORRY DUPLICATED POST - PLEASE IGNORE

  • OCP practice exam question

    I'm planning taking "1Z0-007 Introduction to Oracle9i SQL" from Oracle web site I found 2 companies that have exam questions 'Self test' & 'Transcender'
    Any one has recomenadion which is better and why

    Samim wrote:
    I'm planning taking "1Z0-007 Introduction to Oracle9i SQL" from Oracle web site I found 2 companies that have exam questions 'Self test' & 'Transcender'
    Any one has recomenadion which is better and whyWhat follows is subjective comment:
    I seem to remember the're now both owned by the same Company Kaplan but operated independently.
    From comments I've seen I think Self Test is slightly cheaper and some regard Transcender as slighty hgher quality.
    I've never used tests from these providers myself but there are occasions I would consider it. Of the two I'd probably aim to plump for Transcender but I'd be well tempted by Self Test if cheaper.
    End of subjective comment:
    One important thing is that there are the authorised Oracle Test Providers which is a good thing: The bad news is there are other test providers who are not authorised and they are known to set up spoof look-alike sites mimicing these companies.
    So its best to vist their sites by going to:
    [www.oracle.com/education/certification] - Exams - Practice tests: which link to [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=42]
    (and be very very careful of spoof sites)
    Rgds -bigdelboy.
    If you suddenly get an offer from vendors other than these please reference [http://blogs.oracle.com/certification/2009/05/the_route_you_choose.html] and [www.certguard.com]
    Edited by: bigdelboy on 02-Oct-2009 09:15 :: Corrected the english grammar a little). Also interesting to note by following post these Companies may be supplying near identical questions for recent tests (I assume purchaser was not tricked into buying from a spoof sight).

  • Practice Exam question

    hey, am soon appearing in CRM100 exam ,has anybody got any practice exam questions, plz forward it to me at   [email protected]     or in any info will also work. thnx

    public class TriangleTester {
         public static void main(String[] args){
              //build first triangle with first constructor
              Triangle tri1 = new Triangle(5,5,5);     
              Triangle tri2 = new Triangle(10);     //equilateral
              Triangle tri3 = new Triangle();     //your 3,4,5
              System.out.println(tri1.getPerimeter()+" is tri1's perimeter");
              System.out.println(tri1.getSide(1)+" is tri1's side 1");
              System.out.println(tri1.getSide(2)+" is tri1's side 2");
              System.out.println(tri1.getSide(3)+" is tri1's side 3");
              System.out.println(tri2.getPerimeter()+" is tri1's perimeter");
              System.out.println(tri2.getSide(1)+" is tri2's side 1");
              System.out.println(tri2.getSide(2)+" is tri2's side 2");
              System.out.println(tri2.getSide(3)+" is tri2's side 3");
              System.out.println(tri3.getPerimeter()+" is tri1's perimeter");
              System.out.println(tri3.getSide(1)+" is tri3's side 1");
              System.out.println(tri3.getSide(2)+" is tri3's side 2");
              System.out.println(tri3.getSide(3)+" is tri3's side 3");
    }This should test your program. make sure it is in the same project as the triangle class

  • UCS Exam question

    nothing

    Tanmay,
    This is not the forum for answering exam questions. The intent is to maintain the integrity of the exam.
    Also, was the VDAN a typo?

  • Help with exam question

    Please can someone help with this exam question I have. I have no idea about it I have been looking through loads of website and class documentation but I still have no answer.
    Please can someone explain this to me thanks
    Consider the following code:
    Import java.util.hashmap;
    Import java.util.map;
    Public myClass {
         Private Map <Integer, Object> myMap = New HashMap <Integer, Object> ();
         Public void addStuff(int id, Object Stuff) {
                   myMap.add(new Integer(id), stuff);
         Public Map getMyMap() {
                   Return myMap;
    Why is myMap declared as a Map and not a HashMap?

    It's called programming against the interface.
    The code using myMap doesn't need to know that it's a HashMap, but only needs to know that it's a Map (Map is an interface that HashMap implements, so every HashMap is-a Map).
    Since that knowledge is not required it's better not to give it away.
    If at some point we decide that HashMap is not the best choice here we can easily change it to any other Map implementation (such as TreeMap for example) and only need to change that one line.

  • Would like to discuss the format of some exam questions

    (I'm intending this to be a discussion topic. Please keep it constructive)
    Hi all,
    I've taken Cisco exams for a while now, and have had this topic discussed amongst my colleagues:
    Why does Cisco test on the EXACT syntax of commands?
    In my opinion, in the field, you will have tab autocomplete as well as the ? to help out. I think that these exam questions detract from what is important in learning the core concepts.
    Being penalised for thinking there is a space between fast ethernet (I use fe for short anyways) but getting the rest of the command correct is not the way it should work. IF exact syntax TRULY matters, have the exam taker write out the command (not by using multiple choice) and have it as a multipart score
    For example: Say you want to add some interfaces to form an etherchannel group, and have it negotiate a connection with the other side which has the same configuration. Would you change the below command, and if so, which part:
    config# interface range fast ethernet 1/0/1 - 1/0/3
    conf-if# channgel-group 1 mode auto
    Now say I write - The answer is change auto to desirable.
    Now going with my multipart score suggestion, I'd suggest giving my answer 2.5 out of 3. I've understood that both sides having auto won't establish a link (auto interface responds to PAgP packets it receives but does not start PAgP packet negotiation) and have fixed it accordingly, but I haven't corrected the space in between fast ethernet. In a real life situation, completing this command would be impossible as the IOS would flag it as an error.
    Having a small penalty instead of wiping out all possible points over a negligible mistake is harsh.
    TL;DR - the scoring of exact syntax Q & A should be changed, or removed altogether to make room for better questions

    No.

Maybe you are looking for