Hello,

I would like to be able to expose Services that are based on (my)
configuration data, and not WSDL or Java classes.

For example, on start up of my server, I may read the configuration and add
a service called 'Customer' and one called 'Account'. Each will have a
couple of operations, which are also defined in the configuration data.

When the services are invoked, they will all delegate to the same
implementation class.
This will get the name of the service and operation along with any
arguments, which are then used to 'do the right thing'.

I have written an Invoker to act as the generic service implementation, This
is working OK.

Now, I need to figure out how to expose the services.

I think I need to create a custom ServiceFactoryBean, which interprets my
configuration data and exposes the service.

Will this work? Is there a better way?

Thanks in advance!

Dave

Reply via email to