On Nov 5, 2006, at 12:08 AM, Manu George wrote:
Hi David,
I have attached a patch for OPENEJB-177 JIRA(The test case for
javax.ejb.EJBLocalObject for Stateful session beans). Please review
and commit if appropriate.
All committed! Thank you very much for the tests, Manu!
Please assign JIRA no 150 and 151 to me
Done and done.
-David
Thanks
Manu
On 11/5/06, David Blevins <[EMAIL PROTECTED]> wrote:
Thanks Manu! All fixed and checked in http://issues.apache.org/
jira/
browse/OPENEJB-303
That just goes to show how important these tests are :)
If there's a specific one you'd like assigned to you, just let us
know.
-David
On Nov 3, 2006, at 12:10 PM, Manu George wrote:
> Thanks for replying. I will attach the Test case in
this
> mail. Its a very simple one actually. I added this test case in the
> StatefulLocalTestSuite and ran the iTest class in openejb-core
module.
> The error I get is in the test02_getEjbLocalHome() method where for
> ejbLocalObject what I get is a EjbObjectProxyHandler which does not
> have the getEJBLocalHome method.
>
> Regards
> Manu
>
> On 11/3/06, Jacek Laskowski <[EMAIL PROTECTED]> wrote:
>> On 11/3/06, Manu George <[EMAIL PROTECTED]> wrote:
>>
>> > I just wrote some test cases for testing the methods of
>> > EjbLocalObject for a Stateful Session Bean. The proxy object
that I
>> > get for local or remote seems to be the same in the case of
Running
>> > test cases in the IntraVmServer. The problem faced was that the
>> proxy
>> > did not have a getEJBLocalHome method. I also found a Jira
for this
>> > problem but it was closed marked duplicate and I was unable
to find
>> > the original JIRA. Currently for both Remote and Local Homes we
>> get
>> > the same object. Is this because since both are intra-vm objects
>> there
>> > is no difference. If that is the case can we add
getEJBLocalHome to
>> > the EjbObjectProxyHandler?
>> > Or do we need to create separate EjbLocalObjectProxyHandler and
>> > separate children? Is someone working on this issue?
>>
>> Can you show how you wrote the test? I'm not that familiar with
those
>> inner-workings of OpenEJB, so unless I see it I won't be able
to help
>> that much (other than replying and confirming that your message
hit
>> some mailboxes ;-))
>>
>> Jacek
>>
>> --
>> Jacek Laskowski
>> http://www.jaceklaskowski.pl
>>