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

Colbert Philippe commented on CXF-7120:
---------------------------------------

I am disappointed that I can't get a clear answer from you.    The question is 
the same as in the first letter.

QUESTION:  Can a JavaScript (or any other dynamic language) be written to call 
ANY Apache CXF web-service (especially asynchronous services), as shown in the 
example I showed in my previous letter.

I am an experienced professional programmer myself.   I am tempted to answer NO 
to that question because of CXF use of complex structures like Future<>, 
AsynchHandler and others.    If I am right, it would be SERIOUS flaw of Apache 
CXF, because CXF is too tied up with Java, not considering other language 
interfacing.    I hope that I am wrong on this!

Most web-site clients are written in JavaScript because it's the language most 
often supported in web-browser.  That's non-controversial.  So asking for a 
JavaScript code sample for the client for CXF Asynchronous web-service is not 
an extreme question.   JavaScript programmers will not know what to do.   The 
answer must come from CXF developers!


> Can CXF REST sync and async WS compatible with JavaScript client?
> -----------------------------------------------------------------
>
>                 Key: CXF-7120
>                 URL: https://issues.apache.org/jira/browse/CXF-7120
>             Project: CXF
>          Issue Type: Wish
>          Components: JAX-RS
>            Reporter: Colbert Philippe
>            Assignee: Sergey Beryozkin
>            Priority: Critical
>              Labels: async, asynchronous, javascript, jscript, perl, python, 
> ruby, sync, synchronous
>
> When writing a real web application the client is likely going to be written 
> in JavaScript in a web-browser and if the server uses CXF then it's in Java.  
>  I think it's the case for a vast majority of CXF users.
> 1)  QUESTION:  Can we write a synchronous web service using CXF JAX-RS (REST) 
> in Java and invoke it from JavaScript?   Are there any features that are not 
> supported by JavaScript?
> 2)  QUESTION:  Can we write an asynchronous web service using CXF JAX-RS 
> (REST) in Java and invoke it from JavaScript?   Are there any features that 
> are not supported by JavaScript?
> I think many of us would appreciate a chapter in the documentation that talks 
> about scenarios when using different languages as clients, JavaScript is one, 
> but the client could as well be in Python, Ruby, Perl.    You should 
> recommend frameworks from other languages that have been tested to work with 
> CXF.    Please, cover both the synchronous and asynchronous case.   A 
> compatibility table should be given to out all client frameworks that have 
> been tested to work with CXF.



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

Reply via email to