[JBoss-user] [EJB/JBoss] - Re: ClassCastException invoking LocalHome finder methods on

2005-04-19 Thread felandres
Hi all, 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... View the original post :

[JBoss-user] [EJB/JBoss] - Re: Can you please give me a sample Entity Bean Source code

2005-04-15 Thread felandres
Ok, I'll send you an example of a CMP-EJB Produto. It uses the HyperSonic JBoss-native database. Bean class: -- package br.cefetrn.leilao.beans; import javax.ejb.EntityBean; import javax.ejb.EntityContext; /** !--

[JBoss-user] [EJB/JBoss] - ClassCastException invoking LocalHome finder methods on BMPs

2005-04-15 Thread felandres
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

[JBoss-user] [EJB/JBoss] - Problems invoking local home finder methods of BMP-EJBs that

2005-04-14 Thread felandres
Hi all, I'm having problems to invoke finder methods (only those that returns various Value Objects within a Collection) of my BMP-EJBs 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