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 140336

Summary: Standard API for JAXB libraries
Product: webservices Reporter: Ayub Khan <ayubskhan>
Component: JAXBAssignee: Milan Kuchtiak <mkuchtiak>
Status: RESOLVED WONTFIX    
Severity: blocker CC: apireviews, jglick
Priority: P3 Keywords: API, API_REVIEW_FAST
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:

Description Ayub Khan 2008-07-16 15:49:33 UTC
Currently we have libs.jaxb module (with friends to 20 other modules in ide cluster) that wraps following

jaxb-api.jar (JAXB 2.1 API)
jaxb-impl.jar (JAXB 2.1 Impl)
activation.jar (required by JAXB 2.1)
jsr173_api.jar (JSR 173 : Streaming API for XML, required by JAXB 2.1)

We would like to make this module public.

Current friend list:

org.netbeans.modules.aspect.editor</friend>
org.netbeans.modules.compapp.projects.jbi</friend>
org.netbeans.modules.deployment.deviceanywhere</friend>
org.netbeans.modules.jaxb.project</friend>
org.netbeans.modules.visualweb.websvcmgr</friend>
org.netbeans.modules.uml</friend>
org.netbeans.modules.uml.drawingarea</friend>
org.netbeans.modules.websvc.jaxws21</friend>
org.netbeans.modules.websvc.jaxwsmodel</friend>
org.netbeans.modules.websvc.manager</friend>
org.netbeans.modules.identity.profile.api</friend>
org.netbeans.modules.xml.jaxb</friend>
org.netbeans.modules.websvc.components.strikeiron</friend>
org.netbeans.modules.websvc.saas.api</friend>
org.netbeans.modules.websvc.saas.codegen</friend>
org.netbeans.modules.websvc.saas.codegen.java</friend>
org.netbeans.modules.websvc.saas.codegen.j2ee</friend>
org.netbeans.modules.websvc.saas.codegen.php</friend>
org.netbeans.modules.websvc.saas.services.strikeiron</friend>
org.netbeans.modules.websvc.saas.ui</friend>
Comment 1 Jesse Glick 2008-07-16 15:59:01 UTC
[JG01] javax.activation and javax.xml.stream are both independent APIs. If you want to make them public, they should be
in their own modules. (I know for sure there are other copies of StAX, both API and impl, floating around - please
consolidate.)


[JG02] You may only make public from JAXB those classes which are intended to be public according to JSR - i.e.
javax.xml.bind.**. If some of the current friends need to directly call Sun impl classes for whatever reason, then there
should be a separate "JAXB Implementation" ("RI"?) module which exposes necessary packages to friends only.
Comment 2 Ayub Khan 2008-09-09 22:56:13 UTC
>>[JG01]
At this moment we do not want de-stabilize the NB6.5 freeze date, so we will try to address it post 6.5

>>[JG02]
I dont see any problem in addressing this.
Comment 3 Jaroslav Tulach 2014-11-05 12:08:39 UTC
Dormant.