Java EE 5 let me have Web Service and Stateless Session Bean both in on
class :
@WebService
@Stateless
public class FooImpl implements Foo {
public void foo() {
throw new RuntimeExceptin("this is it ??? ");
}
}
it means that RMI client and WebService client both can user this code. but
how about exception handling ?
in JAX WS i can just throw SOAPFaultException and in EJB i have no
restriction about Exceptioning
any solution ? any idea ? any example ?
please help me
--
sincerely yours
M. H. Shamsi