Webservice endpoint client view

  • Only Stateless session beans and Singleton session beans may have web service clients.
  • To provide a webservice endpoint interface view for the client, the business interface of the bean should be annotated with @WebService.
import javax.jws.WebService;

@WebService
public interface HelloWorld {
	String sayHello();
}

Leave a Comment