Creating web services by using annotations
With the Java™ API for XML-Based web services, you can use annotations in your Java code to simplify creating web services.
- Annotations for creating web services overview
You can use annotations in your Java code to create web services. Annotations specify metadata that is associated with web service implementations. - Annotating a Java bean to create a web service
You can annotate types, methods, fields, and parameters in your Java bean to specify a web service. - Annotating an EJB bean to create a web service
You can annotate types, methods, fields, and parameters in your EJB bean to specify a web service. - Creating a web service from a Java bean and a WSDL file
You can use annotations to associate an implementation Java bean with an existing WSDL service contract. - Creating a Web service from an EJB bean and a WSDL file
You can use annotations to associate an implementation EJB bean with an existing WSDL service contract. - Validation of web services annotations
When you are using annotations with Java code, the product validates the usage and values of the annotations. Through this validation, you can detect problems before deploying your web service. - JAX-WS annotations reference
You can use annotations with web services to configure bindings and handler chains; and to set names of portType, service, and other WSDL parameters. Annotations are used at build time to map Java to WSDL files and XML schema, and at run time to control how the JAX-WS runtime environment processes and responds to web service invocations.
Parent topic: Developing Web services and clients

