Home » Apache CXF » Page 2

Tag Archives: Apache CXF

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

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 »

Let us write a document style Web Service

java-interview-questions-answers

You might be aware that there are mainly four different styles of web services we can make use of. They are as follows: Document/Literal Document/Literal Wrapped RPC/Encoded RPC/Literal Of course the RPC/Encoded style is now deprecated. If you are interested you can read up on the different styles of web services and their pros on cons on this very comprehensive ...

Read More »

Going REST: embedding Jetty with Spring and JAX-RS (Apache CXF)

For hardcore server-side Java developer the only way to ‘speak’ out to the world is by using APIs. Today’s post is all about JAX-RS: writing and exposing RESTful services using Java. But we won’t do that using a traditional, heavyweight approach involving application server, WAR packaging and whatnot. Instead, we will use awesome Apache CXF framework and as always rely ...

Read More »

REST CXF for Spring JPA2 backend

spring-interview-questions-answers

In this demo, we will generate a REST/CXF application with spring/jpa2 backend. This demo presents the track REST-CXF of minuteproject. The model from demo 2 remains the same. The enrichment stays the same. But the tracks changes What is added are 2 layers: a DAO layer with spring integration on top of JPA2 a REST-CXF layer with JAX-RS annotation The ...

Read More »