Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

answer these Questions  RSS feed

nageswara spy
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!