JBoss.org Community Documentation

5.14. Plain old Java Object (POJO)

Let's take a look at simple POJO endpoint implementation. All endpoint associated metadata is provided via JSR-181 annotations

@WebService
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class JSEBean01
   {
    @WebMethod
    public String echo(String input)
    {
    ...
    }
 }