About Question enthuware.ocejws.v6.2.124 :
Posted: Mon Apr 14, 2014 10:39 am
Since One way method can not declare checked exception or return value , I did not understand the below statement (in bold) in the explaination . Can you please explain?
4.3 Annotation: javax.jws.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. A JSR-181 processor is REQUIRED to report an error if an operation marked @Oneway has a return value, declares any checked exceptions or has any INOUT or OUT parameters.
Will the app server allow us to deploy such OneWay methods (Declaring checked exceptions or return values) ?
4.3 Annotation: javax.jws.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. A JSR-181 processor is REQUIRED to report an error if an operation marked @Oneway has a return value, declares any checked exceptions or has any INOUT or OUT parameters.
Will the app server allow us to deploy such OneWay methods (Declaring checked exceptions or return values) ?