users@glassfish.java.net

ejb3 jax ws exception handling resources ?

From: Mohammad Shamsi <m.h.shams_at_gmail.com>
Date: Sun, 25 May 2008 15:32:36 +0330

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