On Thu, Nov 6, 2008 at 7:54 AM, Daniel Kulp <[EMAIL PROTECTED]> wrote:
>
>
> There really are two options:
>
> 1) Use spring to actually create your ServiceImpl and use spring injection.
>
> <bean id="myservice" class="....ServiceImpl">
> <property name="bean" ref="refBean"/>
> </bean>
> <jaxws:endpoint implementor="#myservice" .../>
>
>
> 2) Use an @Resource thing:
> @WebService
> public class ServiceImpl implements Service{
> @Resouce(name = "myBean")
> public SpringBean bean;
> }
Thanks Dan. I'm going to work it out. I like the annotation option.
--
Not by might nor by power, but by His Spirit.
Read my blog: http://joshuajava.wordpress.com/
Follow me on twitter: http://twitter.com/jpartogi