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.

Bug 75760 - Sun config editor does not receive annotations from webservices.xml merged annotation provider
Summary: Sun config editor does not receive annotations from webservices.xml merged an...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on: 74765 74924 77113 77233
Blocks: 77737
  Show dependency tree
 
Reported: 2006-05-02 05:35 UTC by _ pcw
Modified: 2006-07-29 08:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pcw 2006-05-02 05:35:35 UTC
Sun Config editor does not receive annotation events from webservices.xml merged
annotation provider.

Under the descriptor model, the listener for events from the ddprovider for
webservices.xml is attached on project open or when this file is create.  We
need to implement correct plumbing to attach to the merged dd-annotation
provider w/o filesystem knowledge.  My understanding is that of this writing,
this merged model has finally been implemented, and so the implementation of
this connection can now be performed, upon which, sun config editing of web
service related values will be available for JavaEE5 modules.
Comment 1 _ pcw 2006-05-25 20:05:33 UTC
Right now, this deficiency appears to be mostly if not entirely caused by
bugs/lack of implementation in the merged annotation-ddproviders that the
various JavaEE projects are responsible for providing.

Also, in contrast to the original description, I have not located any evidence
of a merged annotation-dd implementation for webservices.xml.  It's possible I
haven't looked in the right place yet though.
Comment 2 _ pcw 2006-07-26 00:02:48 UTC
Plugin is now getting events from web service annotations.  However,
port-component fields are empty.  Server specific endpoint configuration is
dependent on it for the port-component-name so this is still an issue.  

I notice though, that JSR-181 defines the annotation-dd mapping for the
port-component fields as "Implementation-defined" so there will have to be some
research as to what to do.  Obviously Sun Appserver plugin needs to do what is
right for appserver, but the NetBeans side may need to handle this in a server
agnostic manner, if possible.
Comment 3 _ pcw 2006-07-26 07:05:41 UTC
Disregard above comment wrt/ JSR-181.  These are JSR-109 specific fields and
version 1.2 of JSR-109 clearly defines how to infer values for the
port-component fields.  See issue 77113 for specifics.
Comment 4 _ pcw 2006-07-29 08:58:26 UTC
I'm closing this bug as fixed.  There are still some anomalies, for example,
backing servlet entry is not created for servlet hosted endpoints (issue 81413).

But the main implementation is in place and seems to generally work and that is
what this bug was tracking.