HTTP Service

Using this feature any Flex module could get the data from JSF Managed Beans or just call any object method which return this data without having to know about JSF.

In order to implement interoperability between Flex and JSF fiji:endPoint component provides access to the properties or methods of any object via a URL: for Flex module the it is just a URL which it uses to send the request to the server.

Next simple example shows basics of httpService feature usage.

HTTPService Usage Example
So in this example Flex module sends request with a param hello which encoded with custom HelloEncoder. Then endpointService method generates new String to be represented with the Flex module using this parameter.