Exceptions when passing EJBs by value

I’m attempting to pass EJBs by value, but I’m getting exceptions.

Not every EJB interface is appropriate for passing by value. When the get methods of a value object are evaluated on the Java side in preparation for passing the value object back to the .NET side, the order of calls to get methods in undefined. If the calls must be in a certain order, there can be problems. This in particular is a problem with passing EJB home interfaces by value, and consequently we do not recommend passing home interfaces by value. Also, note that only the return values of get methods are evaluated and passed back. If you attempt to call any other method (for example, a find method), you will get a System.NotImplementedException.