You can't use relationship outside the deployment
(i.e ejb-jar.xml) scope
which has defined it.
The common solution is to use value objects to
export data for client :
simple java classes that reflects
beans
class DogVO { ... }
class OwnerVO { ... DogVo
dog; ... }
and usually you put an accessor for getting VO in
an session bean
like :
OwnerVO getOwner(int ownerId) { ... }
Julien
|
- [JBoss-user] CMR & local interfaces Sebastien CHAUSSON
- Julien Viet