[
https://issues.apache.org/jira/browse/OPENEJB-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan updated OPENEJB-1039:
--------------------------
Attachment: OpenEJB-1039.patch
With David's response for the quesion, see url
http://mail-archives.apache.org/mod_mbox/openejb-dev/200906.mbox/%[email protected]%3e
I suppose that the strict option means :
When the value of the option is set false, so OpenEJB will automatically set an
interface that the EJB bean implements as a local view. If it does, if those
interface are explicitly marked as Remote or Local, OpenEJB should not do this
enhancement. I try to create a proposed patch, please help to review it.
Thanks!
> 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
> 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.