• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

About CMP question

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
While testing CMP entity bean , a developer discovers that a change to one of the bean's properties is not reflected in the database that contains the bean data. What are possible causes? Select four answers?
a) The ejbStore() method has a bug
b) The ejbCreate() method has a bug
c) The ejbLoad() method has a bug
d) The setter for the property has a bug
e) The mapping of container managed fields to database fields has a bug
f) The deployment descriptor has a bug

My ansers are:
b, d, e, f
Please comment on this
Konda..

 
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I feel:
a, b, e, f
Since there is no setter method.
Please comments.
[This message has been edited by ruilin yang (edited October 31, 2001).]
[This message has been edited by ruilin yang (edited October 31, 2001).]
 
Konda Balabbigari
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ruilin
I think in the ejbStore() method we do not need to write any code. Calling ejbStore() method is automatically called by the Container. In this situation the answer a) is wrong.
No clue what are correct choices.
Thanks
Konda..
 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Konda,
I think you are right since in the question setter may not mean a method. It may mean setting a field as public or private for example. Therefore, setting of fields can cause the problem.
You are right for CMP user do not need to implement: ejbStore() and ejbLoad().
Therefore b,d,e,f are correct as you said.
 
Konda Balabbigari
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
While testing CMP entity bean , a developer discovers that a change to one of the bean's properties is not reflected in the database that contains the bean data. What are possible causes? Select four answers?
a) The ejbStore() method has a bug
b) The ejbCreate() method has a bug
c) The ejbLoad() method has a bug
d) The setter for the property has a bug
e) The mapping of container managed fields to database fields has a bug
f) The deployment descriptor has a bug

Today i took the test, i found the answers are
a, c, d, e.
Can some comment on this why ejbStore() correct answer instead on ejbCreate() method
Thanks
Konda.
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Konda,
Can you please tell me what test are u talking about? Please guide me about sample sites avaliable for SCEA part 1 tests.
Regards,
Chetan Mehta
 
Chetan Mehta
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Konda,
Can you please tell me what test are u talking about? Please guide me about sample sites avaliable for SCEA part 1 tests.
Regards,
Chetan Mehta
 
Konda Balabbigari
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Chetan
I am sorry, i was out today
This question is from IBM exam no. 488. from http://certify.torolab.ibm.com
Thanks
Konda..
 
Something must be done about this. Let's start by reading this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic