You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Bhupesh Tuteja <bt...@gmail.com> on 2014/02/11 07:44:21 UTC

Server Side Asynchronous processing support via CXF & NIO support

Hi CXF developers,

I have been using CXF 2.7.7 and exposing my service using JAXRS support
provided by CXF.

	<jaxrs:server address="/" id="appService">

		<jaxrs:serviceBeans>
			<ref bean="productOffersService" />
		</jaxrs:serviceBeans>

		<jaxrs:providers>
			<ref bean="provider" />
			<ref bean="exceptionMapper" />
		</jaxrs:providers>
	</jaxrs:server>

Recently I have been reading about asynchronous processing support in
Servlet 3.0
http://docs.oracle.com/javaee/7/tutorial/doc/servlets012.htm

I am wondering how do I utilize this in my code as i am not dealing with
HttpServletRequest and HttpServletResponse directly. Are there any examples?

On the other hand, my service is also I/O bound and acts as an orchestrator.
It is again using JAXRS support of CXF to invoke REST services. Need
suggestion on how to get benefit from non-blocking IO and how extensively
CXF supports NIO. Are there any examples?



--
View this message in context: http://cxf.547215.n5.nabble.com/Server-Side-Asynchronous-processing-support-via-CXF-NIO-support-tp5739790.html
Sent from the cxf-dev mailing list archive at Nabble.com.