Hi Eric-

just offline suggested a EJB2 solution 
I would be curious as to looking at your EJB3 Dependency Injection testcase if 
you can provide source, 
build-scripts and which version JBOSS you're deploying..?

thanks,
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. 


> Subject: RE: EJB in Struts Action
> Date: Fri, 3 Oct 2008 10:20:01 -0600
> From: [EMAIL PROTECTED]
> To: user@struts.apache.org
> 
> I've used EJB3 w/ Struts 2 in JBoss, and we couldn't get DI working in strtus 
> action classes.  We had to write context lookup classes.  The problem is that 
> struts action classes don't reside in the EJB container, so DI doesn't work 
> correctly.  If someone else has figured out how to do this, I'd love to hear 
> it as well.  Otherwise, you may be stuck with context lookups.
> 
> --Eric
> 
> -----Original Message-----
> From: Ronaldo Rigoni ... [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 03, 2008 7:59 AM
> To: Struts Users Mailing List
> Subject: Re: EJB in Struts Action
> 
> The server is GlassFish V2.
> I need inject a Local EJB into Struts Action, I Have override a Struts
> ObjectFactory and with reflection inject a EJB, but is overwork unnecessary.
> How the best way to implement this?
> Tanks
> 
> Ronaldo Rigoni
> 
> 2008/10/3 Martin Gainty <[EMAIL PROTECTED]>
> 
> >
> > which Application Server will you be implementing?
> >
> > 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: Fri, 3 Oct 2008 10:46:51 -0300
> > > From: [EMAIL PROTECTED]
> > > To: user@struts.apache.org
> > > Subject: EJB in Struts Action
> > >
> > > Hi all,
> > > I need help,
> > > Can I  inject a EJB in a Struts 2 Action by annotation? Or only lookup
> > by
> > > InitialContentx?
> > >
> > > Regargs,
> > >
> > > Ronaldo Rigoni
> >
> > _________________________________________________________________
> > Want to do more with Windows Live? Learn "10 hidden secrets" from Jamie.
> >
> > http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008<http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns%21550F681DAD532637%215295.entry?ocid=TXT_TAGLM_WL_domore_092008>

_________________________________________________________________
See how Windows connects the people, information, and fun that are part of your 
life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/

Reply via email to