Skip to content

Instantly share code, notes, and snippets.

@solomax
Created April 18, 2014 04:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save solomax/11024398 to your computer and use it in GitHub Desktop.
Save solomax/11024398 to your computer and use it in GitHub Desktop.
working @webservice by David Blevins
package org.apachecon;
@javax.jws.WebService
@javax.ws.rs.Path("/")
@javax.ejb.Singleton
public class HelloService {
@javax.ws.rs.GET
public String hello() {
return "Hello, Maxim";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment