Created
April 18, 2014 04:06
-
-
Save solomax/11024398 to your computer and use it in GitHub Desktop.
working @webservice by David Blevins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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