users@jax-ws.java.net

1:1 mapping between business logic and service implementation class

From: Angel Todorov <attodorov_at_gmail.com>
Date: Thu, 22 Mar 2007 10:43:54 +0200

Hi,

I would like to ask whether in JAX-WS, I always have to have one to
one mapping between a service and a java implementation class,
annotated with @WebService . Is it possilble to have a generic java
class which , based on a service name, and the operation name, (and
maybe some namespace), dispatches requests to some internal business
logic ?

For example, using Axis2 i don't need to have a service implementation
class. I can decide to which backend to dispatch (having transformed
it) the request using the MessageReceiver concept.

Thanks very much for your feedback.

Regards,
Angel