+1 > -----Messaggio originale----- > Da: Colm O hEigeartaigh [mailto:[email protected]] > Inviato: giovedì 25 ottobre 2012 15:52 > A: [email protected] > Oggetto: [DISCUSS] - Switch to use Apache CXF for REST interface > > > Hi all, > > I would like to initiate a discussion about the merits of > switching to use > Apache CXF to provide the REST interface, instead of the > current approach > based on the Spring web stuff. Obviously, this is quite a significant > change to what's there at the moment, but I want to see if > other developers > are at least open to the possibility. > > Here are some reasons to switch to using Apache CXF: > > a) Syncope does not use standard JAX-RS annotations, but > rather custom > Spring annotations. > b) Using Apache CXF would give us access to the full power > and flexibility > of the CXF stack. For example: > - We could add SOAP interfaces. > - We could use CXF interceptors...automatic support for a > large number of > transports + security things like O-Auth, SAML, Kerberos, > WS-Trust etc. > c) (Trivial point) It is good to use fellow Apache products > where possible. > > What do you think? It is something that either I or another > Talend person > could contribute to the product. Just to give a sample of > what the REST > controllers might look like, see an example from the CXF oauth demo: > > http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/r elease/samples/oauth/server/src/main/java/demo/oauth/server/SampleResourceProvider.java?view=markup
Colm. -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
