Am Mittwoch, den 15.08.2007, 13:48 -0400 schrieb Jean-Sebastien Bournival: > Hi guys, > > I am in the process of validating using web services in conjonction with an > AJAX layer on the front-side. The architecture of this might look like: > > - using CXF to expose REST services > - these services will throw out some JSON (via Jettison) > - the client side will use YUI to access the service layer > > I have 2 questions for you all: > > 1) Has anyone ever tried that (AJAX -> WS) ? I thought it might decouples a > little more the GUI from the back-end. >
Chapter 10 in Mark Hansen's SOA book covers AJAX -> WS in general (if not precisely the way you wish to do this). That sample chapter is available as a free download here: http://www.theserverside.com/tt/articles/article.tss?l=AjaxJavaWebServices_Chapter You may need some of the Chapter 9 code to understand Chapter 10--all source code is available at http://soabook.com > 2) Are the annotations used in CXF to build a RESTful WS, in sync with what > is going on in the JCP regarding JAX-RS (JSR 311 I think) ? > AFAIK JSR 311 will be implemented in CXF, and it is a relatively high priority, but it is not there yet. HTH, Glen
