O'Reilly logo

Java 7 JAX-WS Web Services by Deepak Vohra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a NetBeans project

A JAX-WS web service essentially consists of a Java class annotated with the javax.jws.WebService annotation—the web service endpoint. A web service may optionally consist of a Service Endpoint Interface (SEI) that is implemented by the service endpoint implementation class. A web service implementation class must not be abstract or final. Business methods of the implementation class that are to be exposed as operations to a web service client must be public, must not be static or final, and must be annotated with the @WebMethod annotation. In NetBeans IDE select File | New Project to create a new project. In the New Project wizard, select Java in Categories and Java Application in Projects, and click on Next:

Note ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required