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.
Scenario : - Invoke action Call Enterprise Bean in servlet - Select remote session bean - see that ejb-ref element is created in web.xml, but not in sun-web.xml When you call another action (Use Database) - ejb-ref entry is added to sun-web.xml together with resource-ref entry. I noticed that sometimes changes in web.xml are not reflected to sun-web.xml at all.
I do not see any issue here. This is what plugin is doing(which is what is expected from plugin) -- On Call Enterprise Bean action plugin do not add any entry to sun DD.(new <ejb-ref> entry added in standard DD gets resolved through <ejb-link> element and as such we do not need any entry in sun DD) On Use Database action , plugin creates required resources and adds <resource-ref> entry to sun DD. I am marking this as invalid. Please feel free to reopen if plugins behaviour is not as described above.
In the latest build (050404) : changes to web.xml are reflected to sun-web.xml - even for Call Enterprise Bean (remote bean). It seems that behaviour is correct now.