-
1. Re: OperationNotSupported for getEJBLocalObject
crackers Jul 5, 2002 12:06 PM (in response to giorgio42)You have to get it from the EntityContext - that contains the information for the instance you want to reference.
-
2. Re: OperationNotSupported for getEJBLocalObject
giorgio42 Jul 8, 2002 10:27 AM (in response to giorgio42)Ok, what I am doing is:
I have the usual
public abstract class MyEB
{
...
public void setEntityContext(EntityContext context)
{
this.context = context;
}
public ejbHomeMyMethod(SomeParam param)
throws WhateverException
{
(MyEBLocalHome)context.getEJBLocalObject().getEJBLocalHome();
... other blurb ...
}
...
}
Obviously "context" is the previously saved EntityContext.
I guess we both mean the same thing...
Yet this does not work.
Any ideas?
TIA,
Georg -
3. Re: OperationNotSupported for getEJBLocalObject
giorgio42 Jul 8, 2002 10:43 AM (in response to giorgio42)
The last post was way too quick. You meant: context.getEJBLocalHome()!
Clear enough.
Thanks.
Georg -
4. Re: OperationNotSupported for getEJBLocalObject
pessoa Feb 13, 2003 1:01 PM (in response to giorgio42)This is also being discussed on
http://jboss.org/forums/thread.jsp?forum=46&thread=23408&message=3749269&q=getEJBLocalHome#3749269