Quantcast
Viewing all articles
Browse latest Browse all 5648

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?

Viewing all articles
Browse latest Browse all 5648

Trending Articles