EJBContainer.APP_NAME IIRC

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/5/10 Carlos Alexandro Becker <[email protected]>

> Hi Romain! Thank you for answering.
>
> Sorry, I created a private gist by mistake. Take this public one:
> https://gist.github.com/caarlos0/5555524
>
> How can I set app_name via properties?
>
> Also, I try to replace an EJB with a mock, and got an error saying that the
> name was already taken... I don't know how to force an override...
>
> Thanks in advance.
>
>
> On Fri, May 10, 2013 at 1:07 PM, Romain Manni-Bucau
> <[email protected]>wrote:
>
> > Hi
> >
> > I cant open the gist, not sure why....
> >
> > EJBContainer supports app_name attribute (by spec), arquillian openejb
> > embedded let you define it as in real (war for instance) etc...
> > Le 10 mai 2013 15:12, "Carlos Alexandro Becker" <[email protected]> a
> > écrit :
> >
> > > Hi, I'm trying to use embedded openejb for tests purposes.
> > >
> > > Actually, my configuration is the following:
> > > https://gist.github.com/caarlos0/dcee29a93943716eff27
> > >
> > > The issues I have:
> > >
> > > - I need to replace the "classpath.ear" by another name (because we
> have
> > a
> > > lot with legacy code with horrible custom lookups and etc);
> > > - I need to replace some EJBs with mocks, but looks like it doesn't
> > matter
> > > what I do, it always get the "original" instead of mocks (I tried both
> > > mockito and "manually") .
> > >
> > >
> > > Thanks in advance.
> > >
> > > --
> > > Atenciosamente,
> > > *Carlos Alexandro Becker*
> > > http://caarlos0.github.com/about
> > >
> >
>
>
>
> --
> Atenciosamente,
> *Carlos Alexandro Becker*
> http://caarlos0.github.com/about
>

Reply via email to