I am using Xdoclet to generate the ejb interfaces. I am suppling a value object in the tag and a class gets generated called UserCMP.
UserCMP has a method called getUserValue() that is supposed to return the value object for this instance.
After I lookup the Home interface and do a create. I am unable to call the getUserValue() function. When I reflect the class I notice that it is called proxy34 and the only methods that are in it are for the bean properties and some proxy stuff. How can I use this CMP object to create the value objects from and Entity bean?
I suddenly realized my own stupidity.
I must define in my bean class
public abstract UserValue getUserValue( );
public abstract void setUserValue( UserValue data );
now everything works wonderfully!!