Created
February 26, 2011 08:19
-
-
Save sejersbol/845045 to your computer and use it in GitHub Desktop.
Simple web service with injected stateless bean.
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
@WebService | |
public class Ws { | |
@Inject SpeakQuery bean; | |
@WebMethod | |
public String sayHelloSlow(String name) throws Exception { | |
return bean.sayHello(name); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment