RE: Re: Destroy an Entity Bean
Rajeev Dave <[email protected]> Wed, 3 Apr 2002 09:42:32 +0530
| Newsgroups | gmane.comp.java.ejb.general |
|---|---|
| Message-ID | <342F6DED4DF4D511AA5A00B0D079FEE39F0203@MAYA> |
If you want to destroy the --instance-- of the bean,=20 have a method inside the bean(lets say destroyBean())=20 and simply throw RemoteException (or any non application exception) inside the method. If the appserver is "ejb-compliant", it should destroy that instance. But here you need to judge on transaction boundries and=20 all related complexities involved. HTH -Rajeev Dave --- In EJB-Developer@y..., Nicolas D'Ippolito <mr_dipi@y...> wrote: > Hi, I have a problem with the Entity Bean. I need to > know how to destroy an EJB, because remove method > seems to destroy a row from the associated table > (apparently it needs a key column). >=20 > I hope you can help me. Thanks. >=20 > __________________________________________________ > Do You Yahoo!? > Yahoo! Movies - coverage of the 74th Academy Awards=C2=AE > http://movies.yahoo.com/ EJB-Developer group email addresses: Post message: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List owner: [email protected] Our other technical discussion groups: - For general Java (J2EE) questions/answers: http://groups.yahoo.com/group/Java_Developer - For peer-to-peer software development discussion: http://groups.yahoo.com/group/P2P-Developer Web link to the EJB-Developer group: http://groups.yahoo.com/group/EJB-Developer ATTENTION: You are receiving this message because you actively subscribed t= o the EJB-Developer technical discussion group on Yahoo! Groups. All subscriptions come from Yahoo-verified email addresses and are logged, thereby provable. To unsubscribe, send a blank email from the email addres= s receiving group messages to the 'Unsubscribe' email address shown above. I= f this doesn't work, send a message concerning this problem to [email protected]. Only Yahoo! Groups is responsible for their own subscription services; the moderator will not perform these services at any time. *** EJB-Developer - A free service brought to you by Democracy 2.0 (www.democracy2.org) ***=20 Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/=20