Advertise with us

Our eBooks

What is a Web Service One Way invocation?

JBoss recipe of the day

@Oneway indicates that the given web method has only an input message and no output. Typically, a oneway method returns the thread of control to the calling application prior to executing the actual business method.

 @WebMethod
 @Oneway
 public void ping()
 {
 log.info("ping");
 feedback = "ok";
 }

This Web service expose the method ping as web service and returns the thread of execution before executing the method.

© 2021 mastertheboss.com. All Rights Reserved.

Please publish modules in offcanvas position.