On Nov 16, 2007 3:15 PM, TomFreestone <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I am new to ServiceMix and I have a couple of questions about how to deploy
> my services into servicemix. I have some services that were developed in
> Apache CXF that use spring/hibernate to get out the data. I have done the
> examples and it seems to me that it would be nice build a JBI-JSR181 POJO to
> expose these services to ServiceMix. How do I load my spring configuration
> files to inject other stack layers from a POJO xbean.xml like I do in my
> web.xml? (eg
>
> classpath*:BYUContext.xml,
> classpath*:CESContext.xml,
> classpath*:applicationContext.xml,
> classpath*:DAOContext.xml,
> classpath*:managerContext.xml,
> classpath*:transactionContext.xml,
> )
>
> Also, thanks in advance for your patience because I am not sure if going in
> the wrong direction.
There's no requirement to switch over to the JSR181 component. There
is a CXF component for ServiceMix that you can use to run your CXF
services in ServiceMix.
The functionality you mention for your web app that loads your Spring
descriptors is specific to the Spring DispatcherServlet and only used
for web applications. In ServiceMix, you'll need to either load these
via the xbean.xml that is used to configure your SU or via one of your
own beans.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/