Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

answer these Questions

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
..........Question1........
Customer and Address are two entity beans.
Customer has one and only one Address. what is the design for creating address from customer
a...Ejbload() of customer call ejbload() of AddressHome
b...Ejbload() of customer call ejb
c...Call create() method of Address in ejbcreate method of customer

.......Question2........
In cmp the value in the database is modified and when tried to retrieve,it gives 500 which should be 300. what might be the reason.
Create(id,500); hr.setBalance(hr.getBalanace()-200);
1)ejbstore() has bug
2)ejbload() has bug
3)ejbpassivate has bug
4)ejbcreate() has bug
 
We begin by testing your absorbancy by exposing you to this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic