In working on Java Web Start app client support for managed beans for 3.1, I
discovered that the protection domains for the generated interfaces were null.
(Java Web Start complained that the generated items, which are from the same
package as classes and interfaces loaded from an automatically-signed JAR, did
not have the same protection domain settings.)
It looks like logic in two places in EjbOptinalIntfGenerator fetches the PD of
the existing class or interface but does not assign the value to the instance
field protectionDomain which is later used in defining the generated item.