Home » Tag Archives: Apache CXF

Tag Archives: Apache CXF

Beyond the JAX-RS spec: Apache CXF search extension

java-interview-questions-answers

In today’s post we are going to look beyond the JAX-RS 2.0 specification and explore the useful extensions which Apache CXF, one of the popular JAX-RS 2.0 implementations, is offering to the developers of REST services and APIs. In particular, we are going to talk about search extension using subset of the OData 2.0 query filters. In the nutshell, search ...

Read More »

A common CXF Request Interceptor for all OSGi Bundles

java-interview-questions-answers

I have been working on Apache CXF, Karaf, Felix from path few months and i find all these bundled technologies very interesting to work with. While working on some use cases i have been got into a situation where i need only One Interceptor that should be executed on each HTTP request sent to any of bundles deployed under application ...

Read More »

Adding Gzip Compression in CXF APIs and Interceptors

java-interview-questions-answers

Nowadays it has become mandatory to perform Gzipping to the APIs responses, due to huge amount of data we are sending in the response. It saves network bandwidth and delivery time, and of course space over the internet. CXF provides an option to use the Gzip Compression in a number of ways. Blueprint Annotation             ...

Read More »

Embedded Jetty and Apache CXF: secure REST services with Spring Security

spring-interview-questions-answers

Recently I run into very interesting problem which I thought would take me just a couple of minutes to solve: protecting Apache CXF (current release 3.0.1)/ JAX-RS REST services with Spring Security (current stable version 3.2.5) in the application running inside embedded Jetty container (current release 9.2). At the end, it turns out to be very easy, once you understand ...

Read More »

Apache CXF 3.0: CDI 1.1 support as alternative to Spring

java-interview-questions-answers

With Apache CXF 3.0 just being released a couple of weeks ago, the project makes yet another important step to fulfill the JAX-RS 2.0 specification requirements: integration with CDI 1.1. In this blog post we are going to look on a couple of examples of how Apache CXF 3.0 and Apache CXF 3.0 work together. Starting from version 3.0, Apache ...

Read More »

Apache CXF 3.0: JAX-RS 2.0 and Bean Validation 1.1 finally together

java-interview-questions-answers

The upcoming release 3.0 (currently in milestone 2 phase) of the great Apache CXF framework is bringing a lot of interesting and useful features, getting closer to deliver full-fledged JAX-RS 2.0 support. One of those features, a long-awaited by many of us, is the support of Bean Validation 1.1: easy and concise model to add validation capabilities to your REST ...

Read More »

Developing RESTful Services using Apache CXF

java-interview-questions-answers

Introduction As you already know there are two ways of developing a web service Simple Object Access Protocol (SOAP) Representational State Transfer (REST) Before jumping on how to create a REST based web service using Apache CXF we shall see what is REST. REST is not a technology and certainly is not a standard of some kind. It is merely ...

Read More »

Developing SOAP Web service using Apache CXF

java-interview-questions-answers

In last post I walked through the steps for developing a simple RESTFull service using apache CXF.  In this post I will be talking about developing SOAP web service using CXF. Before moving forward let us understand few of the concepts/elements which makes up a SOAP web service SOAP or Simple Object Access Protocol  SOAP is a protocol for exchanging ...

Read More »

Apache CXF – JAX-WS – Simple Tutorial

java-logo

A lot of Java Developers out there sees task with Web Service implementation daunting – well, nobody can blame them really, especially that it brings a lot of  complexity in development and design over the years of enterprise application development. For some though, learning it is somehow the next step in building a full blown enterprise application – Web Services – ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close