• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

1. Introduction to Flash Remoting > 1.7. Workflow Example

Workflow Example

Having discussed how the Flash Player and the Flash Remoting gateway communicate, now let’s look at what occurs behind the scenes. We will examine each step of the earlier Hello World example. In Example 1-1, a remote service was called from Flash and received a “Hello World” string in response.

Here are the steps that occur:

  1. Using the NetServices API within Flash, developer-written code makes a call for a remote service.

  2. The NetServices library passes the remote service call, along with any arguments, to the NetConnection object within the Flash Player.

  3. The NetConnection object serializes the request into AMF and sends it to server as an HTTP binary POST.

  4. The Flash Remoting gateway on the server receives the request, deserializes it and determines the server-side service to which to pass the request.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint