Tag Archives: Apache CXF

ApacheCXF – an example of web.xml

Advertisements

Posted in Programming, Web | Tagged | Leave a comment

Java – ApacheCXF web socket example

Here is the git hub url for an example of ApacheCXF with websocket. https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/websocket Stack overflow http://stackoverflow.com/questions/26021026/cxf-websocket-configurtion

Posted in Java, Programming | Tagged | Leave a comment

Java – Apache CXF: return response code(HTTP status code)

Posted in Java, Programming | Tagged | Leave a comment

Apache CXF – getting ServletContext in code

It is common to get a Servlet context on implementing WEB API. Apache CXF has a little different approach to get this instance. The following code show how to get ServletContext instance for RS.

Posted in Java, Programming | Tagged | Leave a comment