Hi all (again...),
I'm having problems on invoking BMPs finder-methods (only those that returns various Value Objects within a Collection) through their local home interface. If I call them from the home interface it works pretty fine, but when I call from the local home I get a ClassCastException...
I'm using a Stateless Session Bean to encapsulate the business logic, so they're in the same VM.
PS: I also tried to call a testing method in the (Facade) Session Bean that referenciates the local home interface of the EJBs, but I got the same error.
I didn't find any reason for this...
Any help is very welcome!
Since NOBODY reply my question, I'll answer it myself... the problem was caused by wrong use of (Home/Remote) interface pairs.
If you're using LocalHome you MUST use the EJB's Local interface!
I hope this could help somebody...