I'm currently studying Glassfish, and I see that you can add the @WebService annotation (javax.jws.WebService) and the container will automatically enable the SOAP web service for the specific bean. Since I'm not very interested in using SOAP, I was wondering if this could be done using the built-in server functions, but for a RESTful service, without explicitly writing my own.
thanks
source share