netbeans
netbeans copied to clipboard
Fix #8087-Unable to add new web service client
Fix issue 8087 NetBeans Notes:
- Add support for Jakarta EE 9/10 plugins for metro, jax-ws, and maven-war-plugin
- Add support for jakarta namespaces for Jakarta EE 9 and later
- Change jax-ws group id to
com.sun.xml.ws - Add instance variables to
JaxWsClientCreatorthat will help with the new logic to support jakarta namespaces and reduce method calls - Refactor code and add missing add support for creating web service clients for EJB, CAR and Java SE maven projects
- Simplify logic that compute whether a project is Web, Car, Jar, EJB
- Add missing EJB version support
- Add missing Servlet version support
- Add missing AppClient descriptor for Jakarta EE 11
- Add missing AppClient resolvers Java EE 7 to Jakarta EE 11
- Add new method getProfile()
- Change logic in getJ2eeProfile() and use the new method getProfile()
- Remove version model when calling addJaxWSPlugin(), the default version will vary for the computed Profile, Java EE 8 will use model 2.2, Jakarta EE 9/10/11 will use 3.0
- Generate new code for equals() and hashCode() methods
- Use Pattern Matching for instanceof
- Use Switch Expressions
- Use constants when possible
- Use diamond inference
- Use try-with-resources
- Increase array size
NetBeans Testing:
- Verify successful execution of libraries and licenses Ant test
- Verify successful execution of Verify Sigtests
- Verify successful execution of unit tests for modules
maven.jaxws - Started NetBeans and ensure the log didn't have any ERROR or new WARNINGS
- Successfully register GlassFish 5/6/7
- Create a Jakarta EE 8/9/10 maven web app and create a new
Web Service from WSDLandWeb Service Client- Verify that it creates a new Web Service
- Verify that the generated sources are using the correct version plugins
- Verify that the generated sources are using the correct namespace
- Create a Jakarta EE 8/9/10 maven web app and create a new
Jakarta EE 8
Jakarta EE 9
Jakarta EE 10