Is it feasible to create a REST client with Flex?

2019-01-07 07:13发布

I'm starting a project using a Restful architecture implemented in Java (using the new JAX-RS standard)

We are planning to develop the GUI with a Flex application. I have already found some problems with this implementation using the HTTPService component (the response error codes, headers access...).

Any of you guys have some experience in a similar project. Is it feasible?

标签: java flex rest
15条回答
Luminary・发光体
2楼-- · 2019-01-07 08:03

I've been working on an open source replacement for the HTTPService component that fully supports REST. If interested, you can find the beta version (source code and/or compiled Flex shared runtime library) and instructions here:

http://code.google.com/p/resthttpservice/

查看更多
Anthone
3楼-- · 2019-01-07 08:03

The way I've managed this in the past is to utilize a PHP proxy that deals with the remote web service calls and returns RTU JSON to the client ..

查看更多
兄弟一词,经得起流年.
4楼-- · 2019-01-07 08:05

REST is more of an ideology than anything. You go to the REST presentations and they have coolaide dispensers.

For Flex apps, rolling a stack in conjunction to BlazeDS and AMF data marshalling is more convenient and more performant.

查看更多
登录 后发表回答