ah, that's great.

let me know if you need a new patch for
https://issues.apache.org/jira/browse/OPENEJB-1264
in order to run/test that example via the 299/330 APIs.

But basically I did the following (on-top of the above patch)
-added atinject/jcdi as "provided" scoped dependency
-changed the CalculatorBean to use @Named/@RequestScoped (from 299)
-changed the @EJB to @Inject

When I was running into problems I replaced the @Remote with @Local,
and even got completely rid of it, but looks like the invocation part of OWB
has a (slight) issue:

https://issues.apache.org/jira/browse/OWB-362

-Matthias




On Tue, Apr 27, 2010 at 11:48 AM, Jean-Louis MONTEIRO
<jean-louis.monte...@atosorigin.com> wrote:
>
> Got that exception too.
> It seems to me, Gurkan's patch breaks something. BTW, I reverted a small
> change and it seems to solve this issue.
>
> Going ahead ....
>
> JLouis
>
>
> Matthias Wessendorf wrote:
>>
>> On Tue, Apr 27, 2010 at 11:03 AM, Jean-Louis MONTEIRO
>> <jean-louis.monte...@atosorigin.com> wrote:
>>>
>>> Hey Matthias,
>>>
>>> Thanks for the feedback.
>>> Actually, i'm still trying to make the whole working with Gurkan's
>>> provided
>>> patch.
>>> I get some exceptions i need to fix.
>>>
>>> I'm running under Tomcat 6.0.26.
>>
>> have you tried 6.0.14 ?
>>
>> I think that worked for me,
>>
>> Generally I am seeing this:
>> http://markmail.org/message/tb7wz7qr3vpt2ur5
>>
>>
>>
>>>
>>> Jean-Louis
>>>
>>>
>>> Matthias Wessendorf wrote:
>>>>
>>>> On Mon, Apr 26, 2010 at 9:34 AM, Jean-Louis MONTEIRO
>>>> <jean-louis.monte...@atosorigin.com> wrote:
>>>>>
>>>>> Hi all,
>>>>>
>>>>> I've been working for 2 weeks on this area and I (now) have a better
>>>>> understanding (thx Mark, Gurkan).
>>>>>
>>>>> I plan to have a look to some great patches provided by OpenWebBeans
>>>>> community (namely Gurkan, Matthias and Mark).
>>>>>
>>>>> Any body else already started working on that?
>>>>
>>>> Kinda:
>>>> https://issues.apache.org/jira/browse/OWB-362
>>>>
>>>> I tried the patch from Gurkan to even more "refactor" the "jsf" sample
>>>> to use @Named (instead of @ManagedBean, which is used by my patch)
>>>>
>>>>
>>>>
>>>>>
>>>>> Jean-Louis
>>>>> --
>>>>> View this message in context:
>>>>> http://openejb.979440.n4.nabble.com/Web-Profile-using-OpenEJB-OpenWebBeans-MyFaces-2-tp2064811p2064811.html
>>>>> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Matthias Wessendorf
>>>>
>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>> sessions: http://www.slideshare.net/mwessendorf
>>>> twitter: http://twitter.com/mwessendorf
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://openejb.979440.n4.nabble.com/Web-Profile-using-OpenEJB-OpenWebBeans-MyFaces-2-tp2064811p2067254.html
>>> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>>
>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>>
>>
>
> --
> View this message in context: 
> http://openejb.979440.n4.nabble.com/Web-Profile-using-OpenEJB-OpenWebBeans-MyFaces-2-tp2064811p2067299.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply via email to