Re: how to use ejb 3.1/3.2 in struts2?

2016-03-08 Thread Mike Guo
@EJB work well for this. > > really thanks Martin and Paul. > > > Mike > > > >> 在 2016年3月9日,上午9:13,Martin Gainty <mgai...@hotmail.com> 写道: >> >> >> >> >>> From: hongw...@163.com >>> Subject: Re: how to use ejb 3.1/

Re: how to use ejb 3.1/3.2 in struts2?

2016-03-08 Thread Mike Guo
for this. really thanks Martin and Paul. Mike > 在 2016年3月9日,上午9:13,Martin Gainty <mgai...@hotmail.com> 写道: > > > > >> From: hongw...@163.com >> Subject: Re: how to use ejb 3.1/3.2 in struts2? >> Date: Wed, 9 Mar 2016 06:38:39 +0800 >> To: user@st

RE: how to use ejb 3.1/3.2 in struts2?

2016-03-08 Thread Martin Gainty
> From: hongw...@163.com > Subject: Re: how to use ejb 3.1/3.2 in struts2? > Date: Wed, 9 Mar 2016 06:38:39 +0800 > To: user@struts.apache.org > > Hi, Paul > > Thanks your response, yes. I used ee 7, > would you share with me some examples? > > Thanks

Re: how to use ejb 3.1/3.2 in struts2?

2016-03-08 Thread Mike Guo
Hi, Paul Thanks your response, yes. I used ee 7, would you share with me some examples? Thanks Mike Sent from my iPhone > 在 2016年3月8日,23:50,Paul Benedict 写道: > > Are you using an EE 7 server? I believe 7 integrates CDI and EJB so you can > @Inject your remote bean

Re: how to use ejb 3.1/3.2 in struts2?

2016-03-08 Thread Paul Benedict
Are you using an EE 7 server? I believe 7 integrates CDI and EJB so you can @Inject your remote bean interfaces. This may also be available in 6, but you'd have to research that. PS: @EJB is a specialized injection annotation that only deals with EJB. Obviously, but just wanted to point that out.