-
1. Re: Remote / Local Mismatch
aloubyansky Jun 24, 2004 2:42 AM (in response to snavjot)Because this is the spec.
-
2. Re: Remote / Local Mismatch
snavjot Jun 24, 2004 2:50 AM (in response to snavjot)spec of whom?
I have created a REMOTE object. I am trying to retreive a collection of REMOTE objects and trying to add the create REMOTE object to that collection.
Then why is EJB Container expecting the object to be LOCAL.
loubyansky, I am surely missing your point but you can help me understand. Any pointers.
thx
Navjot -
3. Re: Remote / Local Mismatch
aloubyansky Jun 24, 2004 3:44 AM (in response to snavjot)The EJB spec. You are trying to add a remote object to a CMR collection (local objects).
-
4. Re: Remote / Local Mismatch
snavjot Jun 24, 2004 4:07 AM (in response to snavjot)Thanks a lot, loubyansky.
May i know then how should i proceed with my development. I have a collection of entity beans. Some are remote and some are local. I have got them in heritage from old team ;-)
I have started adding CMR fields to the relations.
How do i decide which of them should be moved on to LOCAL? I might end up converting all my entities to LOCAL. I can foresee lots of work on my part but this time i will do it for good.
TIA
Navjot Singh -
5. Re: Remote / Local Mismatch
darranl Jun 24, 2004 7:34 AM (in response to snavjot)All CMR fields must be Local, CMP fields can be either.
-
6. Re: Remote / Local Mismatch
aloubyansky Jun 25, 2004 4:53 AM (in response to snavjot)It's a good practice to use local where possible.