| What is a Web Service One Way invocation? |
| Written by Mark S. | |||||
|
@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.
JBoss.org Search
Custom Search
Only registered users can write comments!
Powered by !JoomlaComment 3.26
3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved." |


