[
https://issues.apache.org/jira/browse/OPENEJB-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729098#action_12729098
]
David Blevins commented on OPENEJB-1039:
----------------------------------------
Update: A few other business interface issues have been discovered by both Ivan
and I. Checked in a new TestCase called BusinessInterfacesTest to cover those
and really all the many rules regarding the many ways of declaring business
interfaces either implicitly or explicitly. Still a work in progress and
doesn't yet run without failures.
> Remote Interface explicitly declared is added to local interface list when
> strict option is not set
> ---------------------------------------------------------------------------------------------------
>
> Key: OPENEJB-1039
> URL: https://issues.apache.org/jira/browse/OPENEJB-1039
> Project: OpenEJB
> Issue Type: Bug
> Components: ejb3 simplified
> Affects Versions: (trunk/openejb3)
> Environment: Windows XP
> JDK 1.5
> Reporter: Ivan
> Assignee: David Blevins
> Attachments: OpenEJB-1039.patch
>
>
> With the latest openejb 3.1.1 snapshot, I found if the env property
> openejb.strict.interface.declaration is not set to true, both local and
> remote interfaces are added to SessionBeanInfo.businessLocal.
> Here is bean structure:
>
> 1. interface LocalInterface {}
> 2. interface RemoveInterface {}
> 3. class MyBeanBase implements LocalInterface, RemoteInterface {}
> 4 @Stateful
> @Remote({RemoteInterface.class})
> @Local({LocalInterface.class})
> class MyBean extends MyBaseBean implements LocalInterface,
> RemoteInterface {}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.