10.3.10.1 Restrictions on remote interfaces
The following restrictions apply to the remote interface of an entity bean with container-managed persistence.
• The Bean Provider must not expose the get and set methods for container-managed relationship fields or the persistent Collection classes that are used in container-managed relationships through the remote interface of the bean.
• The Bean Provider must not expose local interface types or local home interface types through the remote interface or remote home interface of the bean.
• The Bean Provider must not expose the container-managed collection classes that are used for relationships through the remote interface of the bean.
All access to the relationship in the test is within the getPropertyMap method - nothing is exposed in the remote interface that shouldn't be as far as I know.
Earlier in the thread Alex wrote that I'm not alone in complaining about this. Is there an existing bug report for this problem that I should add the details of my test case to, or should I file a new bug?
Andrew
Andrew May wrote:
In our application which is causing the problem we have a session facade. I ommited this from the test case because I wanted it to be as simple as possible.
Because the Parent has a local reference to the Child and the relationship is only being accessed within a method on the Parent I thought that this test case was legal - I'll have to study the spec.
Andrew
Simone Milani wrote:
Hi Andrew,
Just looked at your source and
you can only have CMR between Local ejbs :) Try to update the test case to
have the relation beetween 2 local Entities and have a remote Session facade
that calls the test method.
Simone
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
