cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james strachan (JIRA)" <>
Subject [jira] [Commented] (CXF-6834) add support for CXF inside Spring Boot
Date Wed, 16 Mar 2016 12:32:33 GMT


james strachan commented on CXF-6834:

Those demos look good!

It'd be nice to create a really cut down simple demo with the most autowiring / autodiscovery
/ autoconfiguration so it looks more comparable to Spring Boot demos with MVC / RestTemplate;
its then a little easier to compare CXF with Jersey / MVC / RestTemplate etc.

I wonder on the client side, can we inject to client interface to avoid using the explicit
Factory method?
it might be nice to use an annotation to specify the URI and injection point or something.

@Autowire // or @Inject
private HelloService service;

then it feels a bit more spring-boot-ish with stuff being injected? We could then let the
URL thats used to create the service be configured via spring's autoconfiguration stuff (e.g.
so you can put it into the to override this URL or use a CLI option
or env var etc).

On the server side can we remove almost everything but the resource bean like the Spring MVC

then the user doesn't have to include stuff like this:

i.e. making that stuff auto-configuration that gets set by default if you don't add that code
explicitly to your app

> add support for CXF inside Spring Boot
> --------------------------------------
>                 Key: CXF-6834
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>            Reporter: james strachan
>            Assignee: Sergey Beryozkin
>             Fix For: 3.2.0
> right now spring boot has support for Jersey; it'd be great to integrate support for
CXF too.
> e.g.
> *
> *
> *
> *
> 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:
> *
> *
> Docs on creating auto configuration here:

This message was sent by Atlassian JIRA

View raw message