Tag Archives: cxf

ApacheCon Seville 2016 – How to Generate a Deployable REST CXF3 Application from a Swagger-Contract – Johannes Fiala

How to Generate a Deployable REST CXF3 Application from a Swagger-Contract – Johannes Fiala

This talk will show how you can use Swagger-Codegen to generate a complete REST application using Apache CXF3 based on a Swagger contract and deploy it to application servers.

Features in the generated server stub include:

* Bean-Validation

* Logging

* Automatic operation validation using @Valid

* Using transparent gzipping of requests

First I’ll demo how to generate the applications & how they work in the container (Tomcat + Jboss EAP), showing how the features work there.

The talk will continue how this is done using Mustache-templates in Swagger-Codegen and how additional features can be added to the generator (e.g. adding forced Gzip-support, enhancing test cases, add additional configuration files, etc.).

Additionally the Swagger toolchain will be shown during the talk (Swagger UI, Swagger Editor, Swagger2Markup to generate PDFs).

More about this session

ApacheCon Seville 2016 – Microservices with Apache Karaf and Apache CXF: Practical Experience – Andrei Shakirin

Microservices with Apache Karaf and Apache CXF: Practical Experience – Andrei Shakirin

Today Microservices architecture is widely recognized and accepted by a lot of development teams. At the same time the people realize that this architecture has some restrictions and challenges.

Interesting that Microservices and OSGi architectures are very close. The talk will analyse the core ideas of both architectures and shows the benefits provided by the OSGi Eco system for Microservices developer.

Based on practical experience, the presenter will demonstrate the best engineering practices in design and development Microservices with Apache Karaf (powered by OSGi) including modularity, resilience, continuous delivery and testability.

One important aspect of Microservices architecture is communication using lightweight mechanisms. Apache CXF is the perfect choice for this. The talk will show how to design, secure, customize and document your Microservices APIs using Apache CXF

More about this session

ApacheCon Seville 2016 – Fediz OIDC: Apache CXF Powered OpenId Connect Server – Colm O hEigeartaigh & Sergey Beryozkin

Fediz OIDC: Apache CXF Powered OpenId Connect Server – Colm O hEigeartaigh & Sergey Beryozkin

OpenId Connect (OIDC), an identity layer built on top of the OAuth2 protocol, has become the standard way of authenticating users on the modern web. Apache CXF is a popular and widely deployed web services framework, and Apache CXF Fediz is an Identity Provider for the web which supports multiple protocols. In this presentation Colm O hEigeartaigh and Sergey Beryozkin will introduce the CXF OAuth2 and OIDC modules, show how the Fediz OIDC Identity Provider has been realized by integrating these modules with the Fediz Authentication System and finish with a demo showing how Fediz OIDC can link with well-known 3rd party OIDC providers .

More information about this talk

ApacheCon Seville 2016 – A GUI for Invoking Web Services: Benefits and How to Build it on Top of Apache CXF – Alessio Soldano

A GUI for Invoking Web Services: Benefits and How to Build it on Top of Apache CXF – Alessio Soldano

Invoking and testing a Web Service endpoint in Java is generally quite a laborious task. Most of the tools aimed at simplifying the process still require developer knowledge like XML / SOAP. In this presentation I will introduce JBoss Wise, which is an open source utility internally relying on Apache CXF JAX-WS tooling and meant to simplify WS invocation/testing. In particular, I’ll show how its web GUI has been created and demontrate how it can be used to effectively test a WS endpoint without writing a single line of code or XML. This basically shifts the focus from the technology to the data, allowing for fast/agile WS testing and enabling business acceptance tests directly from analysts.

More information about this talk