ejb@glassfish.java.net

RE: Need a reference to an Session Bean within an Entity Bean

From: Eve Pokua <gorgeous65_at_msn.com>
Date: Tue, 31 Jul 2007 11:20:58 +0100

Kem,This type of injection is usually done with the client to tellit which of the remote interface is being reference to such client. What are you trying to achieve?eve> Date: Mon, 30 Jul 2007 12:22:31 -0600> From: kem.elbrader_at_gmail.com> To: persistence_at_glassfish.dev.java.net; ejb_at_glassfish.dev.java.net> Subject: Need a reference to an Session Bean within an Entity Bean> > Is it possible to inject an EJB into an Entity? If not is there> another way to get a reference to a EJB from an Entity?> > Example:> > @Entity> public class Customer {> > @EJB> CustomerAction customerAction;> > @PostLoad> void initialize() {> // do stuff with customerAction...> }> }> > ---------------------------------------------------------------------> To unsubscribe, e-mail: ejb-unsubscribe_at_glassfish.dev.java.net> For additional commands, e-mail: ejb-help_at_glassfish.dev.java.net>
_________________________________________________________________
Feel like a local wherever you go with BackOfMyHand.com
http://www.backofmyhand.com