Thanks!

What is the recommended approach to where all the Spring config goes? Everything in beans.xml or import from a 'business layer only' file and use beans.xml as a facade to this (or some other approach)?



-----Original Message----- From: David Karlsen
Sent: Tuesday, August 09, 2011 5:55 PM
To: [email protected]
Subject: Re: Spring config on jaxws:endpoint

It should read #beanId when referencing a spring bean, e.g. #orderP
Den 9. aug. 2011 17:54 skrev "David G" <[email protected]> følgende:
Hi,

Where do I do the dependency injection for my service implementation
beans?


For example if I configure in beans.xml and expose the service using jaxws
can I use a bean in implementor instead of the class name?


If I try:

<jaxws:endpoint id="orderProcessService" implementor="orderP"
address="/OrderProcess" />

<bean id="orderP" class="demo.order.OrderProcessImpl" />

I get java.lang.ClassNotFoundException: orderP



Thanks,

David




Reply via email to