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

Sergey Beryozkin commented on CXF-6869:
---------------------------------------

Hi Vedran, 

Good to hear from you, sure, on one hand we have a Spring Boot blueprint 
recommending a certain module structure. On the other hand we have CXF 
specifics, mainly the fact that some people do only JAX-WS, some - only JAX-RS, 
and I feel that taking care of these two different styles in a single 
auto-configure will sooner or later get us into the corner. 

The last thing which concerns me is whether our Spring Boot module structure 
will be deemed  to be meeting precisely that blueprint or not. As far as I'm 
concerned the main criteria is to make CXF work well with SpringBoot.

If putting the code into a starter is a really bad style in Spring Boot world 
then perhaps we can consider introducing front-end specific auto-configure 
support. We can continue operating with a single one  for as long as it proves 
realistically possible of course, adding one more auto-configure module is not 
something I'm keen to do but IMHO we should exclude this option should it prove 
necessary. 

Let me try to move our chat into a new direction for a sec :-). So we have CXF 
endpoints showing up in a Spring Boot contaner. Now consider this project, 
https://github.com/spring-cloud-samples/eureka/blob/master/pom.xml

Do you reckon it is a matter of adding few dependencies as in that project for 
CXF endpoints being seen in Spring Cloud registry ?
 

Thanks, Sergey  

> Consider adding Spring Boot starter
> -----------------------------------
>
>                 Key: CXF-6869
>                 URL: https://issues.apache.org/jira/browse/CXF-6869
>             Project: CXF
>          Issue Type: New Feature
>          Components: Integration
>            Reporter: Vedran Pavic
>            Assignee: Sergey Beryozkin
>
> I've recently authored a PR in Spring Boot to add support for 
> auto-configuration of {{CXFServlet}} and default CXF's configuration:
> https://github.com/spring-projects/spring-boot/pull/5659
> The PR was closed with "won't fix" resolution since Boot team are unwilling 
> to add CXF as a dependency to the project. Instead a 3rd party starter was 
> suggested.
> The concept of a 3rd party starter is generally encouraged for technologies 
> that don't have first-class support in projects from Spring portfolio. Such 
> 3rd party starters are listed here:
> https://github.com/spring-projects/spring-boot/blob/master/spring-boot-starters/README.adoc
> If CXF team is interested, I'm willing to port my PR to CXF.
> Note that the original PR was focused around JAX-WS support, but can be 
> easily expanded to include JAX-RS support as well.



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

Reply via email to