When an exception occurs on the server, JAX-WS RI sends the stack trace of that exception to the client.
Application service implementation classes (or providers) who'd like to use the stateful web service support must declare Stateful annotation on a class.