Honestly, I don't see anything in there that would require the spring stuff 
since you are configuring everything programatically.  Thus, you may be able 
to exclude the spring jars.  I'd say "try it and see".

Dan


On Fri March 13 2009 9:00:27 pm Valerio Schiavoni wrote:
> Hi,consider the following code, to export a java interface using the simple
> frontend :
>
> ServerFactoryBean wsServerFactoryBean = new ServerFactoryBean();
>
> wsServerFactoryBean.setServiceClass(..)
>
> wsServerFactoryBean.setAddress(..)
>
> AegisDatabinding aDB = new AegisDatabinding();
>
> AegisContext aegisContext = new AegisContext();
>
> aegisContext.setWriteXsiTypes(true);
>
> aDB.setAegisContext(aegisContext);
>
> wsServerFactoryBean.getServiceFactory().setDataBinding(aDB);
>
> final Object delegateItf = delegate.getFcInterface(itfName);
>
> BeanInvoker invoker = new BeanInvoker(delegateItf);
>
> wsServerFactoryBean.setInvoker(invoker);
>
> server = wsServerFactoryBean.create();
>
> to run this code, plenty spring libraries are imported.
> The  idea is to reduce the disk-footprint of our library, by removing
> apprently unrequired libraries.
> Is Spring really required to execute the above code ?
>
> Thanks for any suggestion
> valerio

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to