openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Accessing Remote EJBs
Date Tue, 21 Aug 2012 13:10:30 GMT
FYI:
http://openejb.apache.org/examples-trunk/cdi-alternative-and-stereotypes/

if you update the code to use ejb it works fine too

*Romain Manni-Bucau*
*Twitter: @rmannibucau*
*Blog: http://rmannibucau.wordpress.com*




2012/8/21 Romain Manni-Bucau <rmannibucau@gmail.com>

> alternative should work, producers too...but with your cause i wonder if
> CDI is activated in your project.
>
> BTW,that's maybe a G issue so maybe ask on G list too
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau*
> *Blog: http://rmannibucau.wordpress.com*
>
>
>
>
> 2012/8/21 Steve Hostettler <steve.hostettler@gmail.com>
>
>> Hi Romain and thanks for helping.
>>
>> By does not work I mean NullPointerException when using the property. In
>> other terms nothing has been injected.
>>
>> Regarding the second remark, I do not have the complete overview but I
>> though that geronimo is using openEJB isn't it?
>>
>> My main problem is that I would like to completly remove the @EJB
>> annotation
>> is order to @Inject. Therefore, I can have two producers one for the EJB
>> and
>> one for the mock. If possible I'd like to use the @alternative  for that.
>>
>> Thanks again for helping
>>
>>
>>
>> --
>> View this message in context:
>> http://openejb.979440.n4.nabble.com/Accessing-Remote-EJBs-tp4656934p4656936.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message