which EJB container are you using to implement the @EJB functionality? Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.
> Date: Wed, 27 Aug 2008 19:16:53 +0200 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Re: Extending EJBInjection interceptor > > Correct me if i'm wrong but afaik beans (with bean-name) are defined via > @stateless and @statefull and @entity > @EJB (in servelett context) does the injection for me. > > and this doesnt work with struts. > > based on the code from the plugin i thought i would have take care of > the instances. but maybe this code was only inserted to save some > lookups (otherwise i would do the lookup everytime). > If thats the case it begs the question if the lookup is that slow. > > Greetings > Alex > > Lukasz Lenart schrieb: > >> make my own Annotation type i wanted to use the javax.ejb.ejb anotation. > >> But > >> > > > > Maybe it will be better to use @Inject from xwork or something? The > > javax.ejb.ejb annotation are used to define EJBs itself not to be used > > for injecting them. > > > > > > Regards > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Get thousands of games on your PC, your mobile phone, and the web with Windows®. http://clk.atdmt.com/MRT/go/108588800/direct/01/