Which of the following are true about abstract methods in EJB 2.0

Hi guys I'm beginner to EJB and i got some unanswered questions.
Can any one of you please.. give answers?
Thanks if you do...
Which of the following are true about abstract methods in EJB 2.0
CMP?
Choose all correct answers:
1. Abstract accessor methods should not be exposed in the EJB
component's interface
2.Abstract accessor/mutator methods are used to access and modify
persistent state and relationship information for entity objects
3.Abstract Accessor/Mutator methods do not throw exceptions
4.The EJB developer must implement the Accessor/Mutator methods
5.Abstract accessor methods may or may not be exposed in the EJB
component's interface
2.Which ONE of the following is true?
Choose the best answer:
1.Local interfaces cannot have a relationship with other Entity
components
2.Local interfaces cannot be used for Stateless Session EJB
3.Local interfaces can be a part of Object's persistent state
4.Local interfaces have the same functionality as that of a
stateless Session EJB
3.Which of the following describe the <cmr-field> in a EJB 2.0
descriptor?
Choose all correct answers:
1.A Local interface/Entity can be a value of a <cmr-field>
2.There is no <cmr-field> in EJB 2.0 descriptor
3.It is used to represent one meaningful association between any
pair of Entity EJBs, based on the business logic of the Application
4.It provides a particular mapping from an object model to a
relational database schema
5.It allows the Local Entity interfaces to participate in
relationships
4.Which of the following are the advantages of using Local interfaces
instead of dependent value classes?
Choose all correct answers:
1.Local Entity Interfaces can participate in Relationships
2.The life cycle of Local Entity Interfaces is managed by EJB
container, intelligently
3.Local Entity Interfaces can be used in EJB QL Queries
4.Local Entity Interfaces can be a part of the <cmp-field> but not
<cmr-field>
5.Which of the following are true about Local interfaces
1.A local interface must be located in the same JVM to which the EJB
component is deployed
2.Local calls involve pass-by-reference.
3.The objects that are passed as parameters in local interface
method calls must be serializable.
4.In general, the references that are passed across the local
interface cannot be used outside of the immediate call chain and must
never be stored as part of the state of another enterprise bean.
6.Which of the following specifies the correct way for a client
to access a Message driven Bean?
Choose the best answer:
1. via a Remote interface
2. via Home interface
3. Message driven bean can be accessed directly by the client
4. both 1 & 2
5. none of the above
------------------------------------------------------------------------7.Which of the following statements are true about message-driven
bean Clients?
------------------------------------------------------------------------Choose all correct answers:
They can create Queue and QueueConnectionFactory objects
They can create Topic and TopicConnectionFactory objects
They can lookup the JNDI server and obtain the references for
Queue and Topic and their connection Factories
Only 1 and 2 above

Hi guys I'm beginner to EJB and i got some unanswered
questions.
Can any one of you please.. give answers?
Thanks if you do...
Which of the following are true about abstract methods
in EJB 2.0
CMP?
Choose all correct answers:
1. Abstract accessor methods should not be exposed
d in the EJB
component's interfacefalse
2.Abstract accessor/mutator methods are used to
access and modify
persistent state and relationship information for
entity objectstrue
>
3.Abstract Accessor/Mutator methods do not throw
exceptionstrue
>
4.The EJB developer must implement the
Accessor/Mutator methodsfalse
5.Abstract accessor methods may or may not be exposed
in the EJB
component's interfacetrue
2.Which ONE of the following is true?
Choose the best answer:
1.Local interfaces cannot have a relationship with
other Entity
componentsfalse
2.Local interfaces cannot be used for Stateless
Session EJBfalse
3.Local interfaces can be a part of Object's
persistent statefalse
4.Local interfaces have the same functionality as
that of a
stateless Session EJBtrue
3.Which of the following describe the <cmr-field> in a
EJB 2.0
descriptor?
Choose all correct answers:
1.A Local interface/Entity can be a value of a
<cmr-field>true
2.There is no <cmr-field> in EJB 2.0 descriptorfalse
3.It is used to represent one meaningful association
between any
pair of Entity EJBs, based on the business logic of
the Applicationtrue
4.It provides a particular mapping from an object
model to a
relational database schematrue
5.It allows the Local Entity interfaces to
participate in
relationshipstrue
4.Which of the following are the advantages of using
Local interfaces
instead of dependent value classes?
Choose all correct answers:
1.Local Entity Interfaces can participate in
Relationshipsis
2.The life cycle of Local Entity Interfaces is
managed by EJB
container, intelligentlyis
3.Local Entity Interfaces can be used in EJB QL
Queriesnot
4.Local Entity Interfaces can be a part of the
<cmp-field> but not
<cmr-field>not
>
>
5.Which of the following are true about Local
interfaces
1.A local interface must be located in the same JVM
M to which the EJB
component is deployedtrue
2.Local calls involve pass-by-reference.true
3.The objects that are passed as parameters in local
l interface
method calls must be serializable.false
4.In general, the references that are passed across
s the local
interface cannot be used outside of the immediate
e call chain and must
never be stored as part of the state of another
r enterprise bean.true
>
6.Which of the following specifies the correct way for
a client
to access a Message driven Bean?
Choose the best answer:
1. via a Remote interfacefalse
2. via Home interfacefalse
3. Message driven bean can be accessed directly by
the clientfalse
4. both 1 & 2false
5. none of the abovetrue.
>
----------------7.Which of the following statements
are true about message-driven
bean Clients?
----------------Choose all correct answers:
They can create Queue and QueueConnectionFactory
objectsthe container can, dunno bout clients
>
They can create Topic and TopicConnectionFactory
objectsthe container can, dunno bout clients
>
They can lookup the JNDI server and obtain the
references for
Queue and Topic and their connection Factories
true
Only 1 and 2 abovefalse
somebody correct me if i'm wrong

Similar Messages

  • Which two statements are true about WHERE and HAVING clause ?

    Which two statements are true about WHERE and HAVING clause ?
    1. WHERE clause can be used to restict rows only
    2.HAVING clause can be used to restrict groups only
    3.HAVING clause can be used to restrict groups and rows
    Plz help me in dis ques...which two will be correct...i think its 1 and 2...but not sure.

    863180 wrote:
    Plz help me in dis ques...which two will be correct...i think its 1 and 2...but not sure.If you are not sure then you do not fully understand HAVING.
    SY.

  • Ou are working with multiple open files and wish to separate them into movable windows. Which of the following will accomplish this?

    Which of the following will exactly copy a file in Photoshop CS5?

    Which of the following will exactly copy a file in Photoshop CS5?

  • Which of the following will take more memory?

    Hi All,
    which of the following will take more memory:
    ---this-----
    long longval[] = new long[100];
    String strval[100] = new String[100];
    boolean boolval[100] = new boolean[100];
    ---or this-----
    class Data {
    long longval;
    String strval;
    boolean boolval;
    Data data = new Data[100];
    I heard objects will take up more memory than default datatypes. I'm looking for speed and memory optimization, so even the slightest of memory saving will matter.

    Hi,
    the first one needs less memory, I guess - beside the point, that the second one has 100 additional references, is the fact, that allocation of memory on modern machines is not a continous one - new data blocks are arranged so, that they start on even addresses (it's a performance issue) often clustered in multiples of 16, 32 or 64. So if you allocate a lot of single objects, the average loss of memory with each object is 8,16 or 32 Bytes (half the cluster size).
    The first one allocates 3 compact data blocks (arrays) - so 3 times the additional loss of memory takes place. The second one allocates 101 blocks (100 objects + 1 array), and so 101 times the additional loss of memory takes place.
    greetings Marsian

  • In which of the following sections of a PL/SQL block is a user-defined exception raised?

    Hi,
    A (somewhat elementary) question:
    In which of the following sections of a PL/SQL block is a user-defined exception raised?
    a) Exception section
    b) Declarative section
    c) Error handling section
    d) Executable section
    I'd be interested to hear people's answers.
    Thanks.

    As Etbin already noted, there are only 3 sections and user-defined exception can be raised in any of them. User-defined exception raised in declarative section example:
    declare
        year_zero exception;
        pragma exception_init(year_zero,-01841);
    begin
        declare
            v_dt date := to_date(1721420,'j');
        begin
            null;
        end;
      exception
        when year_zero
          then
            dbms_output.put_line('Year 0!');
    end;
    Year 0!
    PL/SQL procedure successfully completed.
    SQL>
    User-defined exception raised in executable section example:
    declare
        year_zero exception;
        pragma exception_init(year_zero,-01841);
        v_dt date;
    begin
        v_dt := to_date(1721420,'j');
      exception
        when year_zero
          then
            dbms_output.put_line('Year 0!');
    end;
    Year 0!
    PL/SQL procedure successfully completed.
    SQL>
    User-defined exception raised in exception handling section example:
    declare
        year_zero exception;
        pragma exception_init(year_zero,-01841);
        v_dt date;
    begin
        declare
            v_num number;
        begin
            v_num := 1 / 0;
          exception
            when others
              then
                v_dt := to_date(1721420,'j');
        end;
      exception
        when year_zero
          then
            dbms_output.put_line('Year 0!');
    end;
    Year 0!
    PL/SQL procedure successfully completed.
    SQL>
    SY.

  • Which of the following is required for multiple Company Codes assigned to s

    Which of the following is required for multiple Company Codes assigned to same Company ?                                   
    Same Chart of Accounts                                   
    Same Currency                                   
    Same Fiscal Year

    hi,
    if multiple companies are dependent on each other then you have to follow the below as same for all companies.
    Same CoA
    Same ItemMaster Data
    Same WareHouses
    Same BP Master Data
    Same Currency
    same fiscal year
    and few more master datas which ever necessary.
    if they are independant on each other then no need to maintain the same codes.
    regards,
    varma

  • Which of the following will exactly copy a file in Photoshop CS5?

    Which of the following will exactly copy a file in Photoshop CS5?

    Just answer A to all the questions on your exam.  You'll probably get an A.  Honest. 
    Seriously, put your smart phone down and engage your brain.  I'll bet you really can get an A if you concentrate.
    -Noel

  • I have the Ipod Nano. I'm traveling to Australia which has the following current: 240V AC, 50Hz. I have a travel plug adapter for the Australian electric sockets. Will I be able to use my Ipod charger with an Australian travel plug adapter or will I also

    I have the Ipod Nano. I’m traveling to Australia which has the following current:240V AC, 50Hz. I have a travel plug adapter for the Australian electricsockets. Will I be able to use my Ipod charger with an Australian travel plugadapter or will I also need a voltage converter? Australia which has thefollowing current: 240V AC, 50Hz.

    I have the Ipod Nano. I’m traveling to Australia which has the following current:240V AC, 50Hz. I have a travel plug adapter for the Australian electricsockets. Will I be able to use my Ipod charger with an Australian travel plugadapter or will I also need a voltage converter? Australia which has thefollowing current: 240V AC, 50Hz.

  • Error: this type needs one of the following values('true','false')

    I'm trying to use <c:if> in a jsp (in Workshop 8.1), as in:
                   <c:if test="1 == 1">
              <!-- something here -->
              </c:if>
              But, I get the following message when I hover over the error indicator
              at the test:
              Error: this type needs one of the following values('true','false')
              It will actually work if I do:
                   <c:if test="true">
              <!-- something here -->
              </c:if>
              but, of course, that's useless.
              Am I missing something here?

    David Karr wrote:
              > The value of the "test" attribute needs to be an Expression Language expression. Try changing it to "${1 == 1}", and that should work.
              Actually, I had tried that, and it would have worked that way if I had
              the right taglib declaration -- I had accidentally left in the rt
              versions, so a <%= test %> type of expression worked.
              But, that's not the way I wanted to do it, so I put the non-rt versions
              in, along with tld and jar files that I had in some other directories,
              then it worked fine. In the process, when searching my hard drive for
              standard.jar, I noticed I had four or five different versions, each with
              a slightly different size. Of course, I had to tinker, and downloaded
              the zip from Apache, figuring it would be best to have a matched set of
              tlds and jars.
              And now I get an error that the matching class cannot be found:
              > ERROR: response.jsp:1: Package org.apache.taglibs.standard.tag.el.core contains no member type of this name.
              and
              > ERROR: response.jsp:14: The tag handler class was not found "org.apache.taglibs.standard.tag.el.core.IfTag".
              But, if I navigate the standard .jar that is in my WEB-INF/lib
              directory, lo and behold, there is the file IfTag.class in what appears
              to be the correct package.

  • Query to identify to which resposibilities the business areas asre shared

    Hey,
    I have a requiremnt to identify to which responsibilities the Business Area's in the EUL are shared with.
    Can anyone help me if with query to get this info?
    Thanks,
    SK

    SK,
    This is the query I have been using. As you can see, my eul schema owner is eul_us:
    select upper(ba.ba_name) business_area ,
    resp.responsibility_name ,
    resp.responsibility_id ,
    nvl(crtd_by.user_name,'Seeded Business Area') created_by,
    --usrs.eu_username                                   ,
    regexp_substr(usrs.eu_username,'[[:digit:]]+',1,1) user_id1,
    regexp_substr(usrs.eu_username,'[[:digit:]]+',1,2) user_id2,
    crtd_by.user_name
    from eul_us.eul5_eul_users usrs ,
    eul_us.eul5_access_privs privs ,
    eul_us.eul5_bas ba ,
    applsys.fnd_responsibility_tl resp,
    applsys.fnd_user crtd_by
    where privs.ap_type ='GBA'
    and privs.ap_eu_id =usrs.eu_id
    and privs.gba_ba_id =ba.ba_id
    and resp.responsibility_id (+)=regexp_substr(usrs.eu_username,'[[:digit:]]+',1,1)
    and crtd_by.user_id(+) =regexp_substr(ba.ba_created_by,'[[:digit:]]+',1,1)
    and resp.language= 'US'
    order by 1;
    I hope this helps.
    Patrick

  • I need any videos i shoot on my iphone, to go to the cloud automatically (when i get an icloud account). the demos show pics and docs going directly, but the demos are ambiguous about short videos i shoot on my phone....help?

    i need any videos i shoot on my iphone, to go to the cloud automatically (when i get an icloud account). the demos show pics and docs going directly, but the demos are ambiguous about short videos i shoot on my phone....not backed up nightly, but available soon.  help?

    Since photo stream doesn't support videos, you would need to use an app to do this.  Dropbox may be a good choice as I believe once enabled, all you have to do is open the app and it will automatically upload photos and videos taken since the last upload to your Dropbox account (see https://www.dropbox.com/help/289/en).  If you aren't familiar with Dropbox, it's a very popular cloud service for hosting files and other media.  Amazon just announced that its Cloud Drive service will soon support photos (http://9to5mac.com/2013/05/10/amazon-launches-cloud-drive-photos-app-for-iphone) /; perhaps it will also be extended to support videos at some point.

  • HT201272 the follow are the are double purchase M1KK5K4 9/29/12 M1KJVY3  7/23/12   M1KJV7T 7/17/12   These are not downloading  M1KJX2F 7/13/12  M1KJY7F 8/12/12  M1KWT5  M1KK5K4 9/29/12  M1KKOB3 8/26/12

    the follow are the are double purchase M1KK5K4 9/29/12 M1KJVY3  7/23/12   M1KJV7T 7/17/12   These are not downloading  M1KJX2F 7/13/12  M1KJY7F 8/12/12  M1KWT5  M1KK5K4 9/29/12  M1KKOB3 8/26/12

    No matter how many times you post, no one here can help you numberoneshot. This is a user to user technical support forum.

  • The follow are the are double purchase M1KK5K4 9/29/12 M1KJVY3  7/23/12   M1KJV7T 7/17/12   These are not downloading  M1KJX2F 7/13/12  M1KJY7F 8/12/12  M1KWT5  M1KK5K4 9/29/12  M1KKOB3 8/26/12

    the follow are the are double purchase M1KK5K4 9/29/12 M1KJVY3  7/23/12   M1KJV7T 7/17/12   These are not downloading  M1KJX2F 7/13/12  M1KJY7F 8/12/12  M1KWT5  M1KK5K4 9/29/12  M1KKOB3 8/26/12

    the follow are the are double purchase M1KK5K4 9/29/12 M1KJVY3  7/23/12   M1KJV7T 7/17/12   These are not downloading  M1KJX2F 7/13/12  M1KJY7F 8/12/12  M1KWT5  M1KK5K4 9/29/12  M1KKOB3 8/26/12
    The following are the issues of Double purchases I have and the some of the items that won't down load.  The ones that won't download to my New computer are the books and audio books one or two movies.

  • Misunderstanding about abstract methods

    I think my compiler just taught me something, and after reading the JLS I concluded that I had a misconception about abstract methods. However, if someone could confirm this I would feel more comfortable.
    I had defined a class structure like so:public abstract class Grandpa{
      public abstract void do();
    public abstract class Pa extends Grandpa {
      public void do(){
      // whatever
    public class Child extends Pa {
    }I got a compile error indicating that Child must implement do(). I had thought that since there was an implementation provided by Pa that Child didn't need to supply one, but I guess I was wrong. Right? :-)

    Nested where? Inside Pa? Other? Static?Inside Pa.
    It sounds like you're satisfied, but if you want to
    continue the discussion, I'll make the standard
    request. Come on, you know it, say it with me: Provide
    a small, complete, working (in that it doesn't
    compile) example that demonstrates this. :-)Yeah, that's exactly what I was working on for the bug report, but I can't get the compile error in my small example. Argh! I'll have to go back some time and build it up to match the other classes until I get the error, because I still get it consistently with the real thing. I have no idea what the key factor is, though - I've tried everything obvious and I don't have time to work through it right now.
    No prob. It's a pleasant break from arguing with UJ.
    :-)Glad I could offer you a distraction. :-) I'll post here again if I ever figure out what the deal is.

  • Which of the following cpu coolers will fit on my mobo(p965 neo f)?

    hi guys
    im looking to replace the stock hsf and the following is wht ive narrowed it down to:
    1.thermalright
    ultra 90a
    ultra 120
    ultima 90i
    2.cooler master hyper tx2
    3.scythe ninja plus rev b
    ive got a 9600gt and 2 1gb ram sticks in dual channel configuration not a very big case, there is about 3-4 cms between the stock heatsink and the psu and about 13-14 cms of height available with the side panel closed.
    thanks in advance

    Hi,
    I use a Thermalright Si 128 on a P965 Platinum mainboard.
    http://www.thermalright.com/new_a_page/product_page/product_cpu_cooler.html
    This was due to "higher" northbridge HS, but the added benefit of air being circulated down to surrounding socket area.

Maybe you are looking for