cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6834) add support for CXF inside Spring Boot
Date Wed, 06 Jul 2016 17:00:15 GMT

    [ https://issues.apache.org/jira/browse/CXF-6834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15364626#comment-15364626
] 

Sergey Beryozkin commented on CXF-6834:
---------------------------------------

This is a better Spring Boot CXF client code:

https://github.com/apache/cxf/blob/master/distribution/src/main/release/samples/jax_rs/spring_boot/src/main/java/sample/rs/service/SampleRestApplication.java

Either WebClient or Proxy can be used. Probably would not harm supporting JAX-RS WebTarget
too.

> add support for CXF inside Spring Boot
> --------------------------------------
>
>                 Key: CXF-6834
>                 URL: https://issues.apache.org/jira/browse/CXF-6834
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>            Reporter: james strachan
>            Assignee: Sergey Beryozkin
>             Fix For: 3.1.7, 3.2.0
>
>
> right now spring boot has support for Jersey; it'd be great to integrate support for
CXF too.
> e.g.
> * https://github.com/spring-projects/spring-boot/tree/master/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey
> * https://github.com/spring-projects/spring-boot/tree/master/spring-boot-starters/spring-boot-starter-jersey
> * https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-jersey
> * https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-jersey1
> mostly this is about submitting a PR against the spring-boot project; but it may require
a few changes in CXF to be more spring/spring-boot ready or to work better with Spring Boot's
auto configuration mechanism and tooling:
> * https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-auto-configuration.html
> * https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html
> Docs on creating auto configuration here:
> https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-developing-auto-configuration.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message