[JBoss-user] [Beginners Corner] - Re: ClassCastException for remote acccess of entity bean

2006-04-11 Thread jboss2005_01
Local and remote interface apply to all kinds of EJBs, entity and session. Are you using BMP or CMP for your entity beans? Under normal circumstances there can be up to 5 classes defining your EJB : 2 home interfaces (defining create, finders,...), 2 remote interfaces (containing your business m

[JBoss-user] [Beginners Corner] - Re: ClassCastException for remote acccess of entity bean

2006-04-10 Thread pieterjan
Can an entity bean have a local and remote interface or doest that only apply to session beans? Anyway, I'm accessing the entity bean through an SLSB (using the dao-pattern found in Hibernate in action). A call to findAll().size() will return the correct amount of records in my table. But the c

[JBoss-user] [Beginners Corner] - Re: ClassCastException for remote acccess of entity bean

2006-04-07 Thread jboss2005_01
Hi PieterJan, Be carefull by putting application code in het lib folder. This is not the place to be for this kind of code. It should be under the deploy folder and only there unless you are using libraries used by multiple applications to share the same code. In this case you should put it in