Hi Sridevi,
Welcome to JavaRanch !
what does "Delete all Customers previously declared 'inactive'" mean?
I guess that 'inactive' is a business rule like 'customers with no orders' for instance.
Where(either in component or home interface) should we provide the necessary operations to achieve the above
In the home interface, because that method will not - by definition - be related to any specific bean instance.
and how?
Mmh... You are going far beyond the scope of the brain power of p. 269 !
OK, I was kidding.
Your question is interesting, I am unsure that my solution below is correct, but I'll try to do as an exercise :
* In CustomerHome *
* In CustomerBean *
* In the deployment descriptor *
Is this correct ?
Best,
Phil.