The application exists as described and is being migrated from
Axis to CXF now. I did't want to change the whole architecture.
If I run them in separate JVMs or application contexts, there
is the hassle of wiring them together.

Ain't there a way to do this in one application, even if it has
to be done programmatically?

Regards,
Christian


-----Original Message-----

Two configuration. Put everything you need for your web services into
a webapp, spring config and all.

Then use a separate app context to set up and launch embedded jetty.



On Wed, Dec 9, 2009 at 8:24 AM, Glen Mazza <[email protected]> wrote:
>
> Probably a better answer around, but some possibilities:
>
> 1.) Use an embedded Tomcat instance:
> http://www.jroller.com/gmazza/entry/writing_junit_test_cases_for (Step
#3)
> 2.) Have the embedded Jetty instance run in a separate JVM, separate
> application with Jetty-specific configuration (basically, make it
> standalone).
>
> HTH,
> Glen
>
>
> Christian.Priebe wrote:
>>
>> Hi,
>>
>> I have a web application that provides a web service running on a
>> Tomcat.
>> While executing a service request the application calls other web
>> services asynchronously, providing a callback service on an embedded
>> Jetty.
>>
>> As far as I understand, I can't include both the cxf-servlet.xml (for
>> the CXFServlet in Tomcat) and cxf-extension-http-jetty.xml (for the
>> callback service in Jetty) in my Spring configuration.
>>
>> How is it possible to make it work anyway?
>>
>> Thanks in advance,
>>
>> Christian
>>
>>
>
> --
> View this message in context:
http://old.nabble.com/How-to-use-CXFServlet-and-embedded-Jetty-in-one-ap
plication-tp26709470p26710089.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>

Reply via email to