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


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.

Reply via email to