-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Apache CXF (JAX-RS) #394
Comments
Please note that the CXF JAX-RS starter only indirectly supports Spring annotations due its dependency on spring-boot-starter. |
We won't add two starters for CXF. We are now considering adding the jax-rs starter and before we do I'd like to know if there are multiple versions of the starter supported and which spring boot generations are supported. As @vpavic actively implemented this, he may be aware. |
And what about jax-ws? CXF 3.1.11 which was released yesterday supports Spring 1.5.x. |
The original Spring Boot integration in CXF was introduced in |
We won't add jax-ws. |
@vpavic I am confused. A bug fix release of the starter changed the supported Spring Boot version? What should I take then? |
@snicoll When you say that you wan't add jax-ws, I suppose that you would like to say that the CXF Starter will be either jax-rs or jax-ws and not both ? |
@cmoulliard Yes. And besides we'll go only for jax-rs at this point anyway. I can't see how the starter could handle both and still manage to provide a decent set of dependencies. |
Well, The cause for that change was removal of BTW I have to correct myself, |
@snicoll Is the CXF Starter project ready to become part of the initialzr ? Do we miss something ? |
Thanks @vpavic ! I guess we have most of the interested parties in this issue so if a new release of CXF is out, I'd appreciate a request for upgrade (or a PR but we can do that ourselves, it's usually a one line change). I'll get going with |
Hi, I did update CXF 3.1.11 SpringBoot starters to depend on SpringBoot 4 line after CXF 3.1.x users started reporting they could not run the starters on Spring Boot 5 due to CXF starters depending on the deprecated code removed from SB 5. I also asked experts on the CXF Jira if it was reasonable to assume most users would've migrated to SB 4. SB is fairly new fenomen for CXF and given the above and also the fact that CXf 3.1.x users are starting actively working with SB and CXF 3.1.x is virtually the major line I thought it was reasonably safe to update the starters to the newer SB 4 code.
We do not plan to update CXF 3.1.12 starters to SB 5 ☺
Hope it addresses your concern, cheers, Sergey
…________________________________
From: Stéphane Nicoll <notifications@github.com>
Sent: 11 April 2017 08:24:12
To: spring-io/initializr
Cc: Sergey Beryozkin; Comment
Subject: Re: [spring-io/initializr] Add Apache CXF (SOAP - RESTfull) to the list (#394)
@vpavic<https://github.com/vpavic> I am confused. A bug fix release of the starter changed the supported Spring Boot version?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#394 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAcit01S_4mLS4JEsmK7QXS0vGOVLxj7ks5ruyqcgaJpZM4MiZiz>.
|
Hi, I'd like to propose improving a generated Demo a bit by adding a simple JAX-RS service bean which will be auto-discovered and a test code which invokes on that service bean. Can you please advise how it can be accomplished ? I can attach the proposed content to this issue. thanks |
@sberyozkin I am not following. This isuse is closed and I am not keen to do code generation atm (if that's what you're asking) |
@sberyozkin We have started to develop a JBoss Forge Spring Boot addon to include such code generation. Here is the project. See add a Rest Controller |
@snicoll What I was thinking about was this - a CXF user goes to https://start.spring.io/, types 'CXF', clicks Generate Project, downloads the generated Demo which already does something OOB, at the moment it is empty and the only CXF specific thing in it is a CXF JAXRS starter dependency. Do you think it would be reasonable - if yes then I can open a new issue and provide the necessary code, let me know please @cmoulliard thanks for the link, the project looks very interesting |
@cmoulliard sorry, so basically, once this JBoss SpringBoot AddOn is finalized then this is exactly what the CXF users will be able to do when they go to https://start.spring.io/ and type 'CXF', be able to add some custom resources/controllers, etc ? if so then it is exactly what I'm after :-), sorry for the noise then |
No, that's not going to do anything here. Thanks for the details that confirms I understood your question. As I said above I am not keen to do that. If you have more questions join us on Gitter. |
Apache CXF (>= 3.1.9) ships Spring-boot which supports to develop Web Services - JAX-WS or RESTfull - JAX-RS projects
The apache cxf documentation page is available here : https://cxf.apache.org/docs/springboot.html
while the starter is referred here : https://github.com/spring-projects/spring-boot/tree/master/spring-boot-starters
A project can be developed using the Spring or JAX-RS annotations
The text was updated successfully, but these errors were encountered: