Hi Bill,
Inside the ejbRemove method (which is called automatically by the
container) just ask it to remove the "child" beans.
Nick
At 01:24 PM 9/19/00 -0400, you wrote:
>Is there a way to instruct the container to delete ejbs referenced from
>parent ejbs that are being deleting (something like a cascading delete) when
>using CMP? If not, What is the best way to do this, expecially if you are
>passing a value object passed in through a session bean (Details pattern @
>www.theserverside.com)? I ask this because I've been spoiled by a feature in
>TOPLink where you can define an object reference as "privately" owned and it
>will be automatically deleted. If marked as not private, then you have to
>manually delete it.
>
>TIA,
>Bill
>
>=====================
>Bill Smith
>Senior Software Engineer
>iXL, Inc.
>4600 Cox Rd.
>Glen Allen, VA 23060
>
>tel: 804.217.8888
>fax: 804.217.8890
>[EMAIL PROTECTED]
>
>This message is intended only for the use of the Addressee and may contain
>information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended
>recipient, dissemination of this communication is prohibited. If you have
>received this communication in error, please erase all copies of the message
>and its attachments and notify us immediately.
>
>