On Mon March 9 2009 2:00:29 pm Adrian Corcoran wrote:
> could configure it to do a jndi lookup or a create in the backing
> service using reflection ...
I guess we'd need to get a feel for how this would work. We COULD have the
"dynamic server" do the generation of the JAXB types and such and have the
server part call a generic handler that you provide. Something like:
interface DynamicHandler {
Object invoke(String operation, Object[] params);
}
or something. You could then do whatever you need to do in there. Actually,
it might just make more sense to extend the Provider stuff to allow something
like Provider<Object> that you would supply to the DynamicServerFactory and
the factory would do the JAXB generation/compile and invoke on that provider.
Dan
>
> On Mon, Mar 9, 2009 at 5:39 PM, Benson Margulies <[email protected]>
wrote:
> > I'm afraid that my brain hurts. Who would tell it what to call for
> > each operation?
> >
> > On Mon, Mar 9, 2009 at 11:46 AM, Adrian Corcoran
> >
> > <[email protected]> wrote:
> >> ok I see where you are coming from ... see what I would like is a
> >> contract first service, like they dynamic client.
> >>
> >> On Mon, Mar 9, 2009 at 3:34 PM, Benson Margulies <[email protected]>
wrote:
> >>> Well, that's sort of the simple front end and Aegis binding?
> >>>
> >>> On Mon, Mar 9, 2009 at 11:28 AM, Adrian Corcoran
> >>>
> >>> <[email protected]> wrote:
> >>>> Sorry what i mean is server side rather than client side. I know this
> >>>> might be a bit of a mind shift, but its pretty much the same
> >>>> principles as the client side side except in reverse ...
> >>>>
> >>>> On Mon, Mar 9, 2009 at 3:20 PM, Benson Margulies
<[email protected]> wrote:
> >>>>> I don't understand the question at all. What do you mean by 'the
> >>>>> backend'?
> >>>>>
> >>>>> On Mon, Mar 9, 2009 at 8:49 AM, Adrian C <[email protected]>
wrote:
> >>>>>> Hi,
> >>>>>>
> >>>>>> Was just looking at JaxWsDynamicClientFactory and I am wondering if
> >>>>>> the same thing can be applied to the backend. Has anyone thought
> >>>>>> about doing this? Anyone see any obstacles to doing this?
> >>>>>>
> >>>>>> Thanks,
> >>>>>> Adrian
> >>>>>> --
> >>>>>> View this message in context:
> >>>>>> http://www.nabble.com/JaxWsDynamicServerFactory--tp22412492p22412492
> >>>>>>.html Sent from the cxf-user mailing list archive at Nabble.com.
--
Daniel Kulp
[email protected]
http://www.dankulp.com/blog