This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Config editor does not properly switch stateless and stateful session bean types when sent corresponding event. | ||
---|---|---|---|
Product: | serverplugins | Reporter: | _ pcw <pcw> |
Component: | Sun Appserver 8 | Assignee: | _ pcw <pcw> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 95131 | ||
Bug Blocks: |
Description
_ pcw
2005-10-26 23:46:49 UTC
The reason for this is that the plugin implemented stateful vs. stateless session beans (and CMP vs. BMP entity beans) as separate classes rather than aspects of the same class. However in ejb-jar.xml, the distinction between each pair is a child DDBean of .../session or .../entity in ejb-jar.xml, thus one can switch between the members of each pair with the corresponding DConfigBean bound to the EJB only receiving a DDBean change event. In our implementation, we would have to destroy and recreate a new DConfigBean which cannot be done with existing JSR-88 API. This will require a DConfigBean architecture refactoring to fix (not as difficult as that sounds) but should cause NO visible changes (e.g. UI). This is too complex to fix during hard code freeze. The workaround is to make the changes to ejb-jar.xml, as described (ignoring the exceptions), then block select the text for the entire ejb in ejb-jar.xml, cut it as one action, then paste it back. This should cause the appserver plugin to create the correct DConfigBean for the ejb with it's new setting. As far as I know, no customer has ever tried to change an ejb this way anyway. link related issues tm change Fixed by virtue of new editor design. |