How do you deploy your applications?
If you wrap all the applications into a same war or OSGi bundle, it
should be no problem.
If you separate the application into different wars or OSGi bundles, and
these applications are using cxf-rt-transport-jetty, you may face some
kind of application classloader issue.
Willem
On 5/6/11 2:53 PM, Blue Diamond wrote:
Dear CXFers,
I am currently starting multiple endpoints on the same port in our
application.
WS Endpoint: http://localhost:port/app/ws
REST Endpoint: http://localhost:port/app/rest
I have verified that it is working alright. Even after engaging security,
HTTP Auth for REST and WS-Security for WS, things are working fine as
expected since CXF uses the capability of Jetty socket reuse. I am able to
access both REST& WS services as before.
I want to go ahead with this approach in our next release. (Currently we are
using different ports for REST& WS).
Does anyone foresee any problem with this approach? Are there any technical
issues that I am unaware of?
Thanks& Regards,
Anil
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com