Skip to main content
Participating Frequently
February 18, 2007
Answered

What platform would be best suited for this application?

  • February 18, 2007
  • 1 reply
  • 318 views
What I am trying to develop is a multiplayer game that is similar to sites such as pogo.com or yahoo games where it is multiplayer with separate rooms and each of those rooms shared information, but not between each other. It will of course also need database access. I have been developing in FMS but now I found the existence of Remoting and just wondering which would be a better solution for me and if anyone can, explain the clear difference between the two and an example of an application for each?

edit: it may also be of importance to include that the platform I'm developing for has no java capability.
    This topic has been closed for replies.
    Correct answer Barry_F
    Hi John,

    Flash Remoting lets your Flash clients or an FMS server communicate with remote application servers such as J2EE or Cold Fusion. Your client platform doesn't need to run Java to use Flash Remoting, but the remote application server obviously does if you choose to connect to a J2EE server such as WebSphere or Tomcat.

    FMS, on the other hand, is an server application from Adobe that can accept connections from Flash clients via the RTMP protocol. It can perform the server-side game logic but it cannot connect directly with a database and therefore you would need Flash Remoting anyway, or XML sockets (see below) to act as a middleman for database queries. Also, FMS understands only ActionScript 1.0.

    A 3rd and possibly better solution is to use the XMLSocket class in your Flash client to communicate with your game server. The game server can then be written in the language of your choice and can therefore speak directly with a database if desired.

    I used the 3rd approach to write a Flash chat client that uses XMLSockets to communicate with a chat server written in Java.


    Good luck,
    Barry

    1 reply

    Barry_FCorrect answer
    Inspiring
    February 18, 2007
    Hi John,

    Flash Remoting lets your Flash clients or an FMS server communicate with remote application servers such as J2EE or Cold Fusion. Your client platform doesn't need to run Java to use Flash Remoting, but the remote application server obviously does if you choose to connect to a J2EE server such as WebSphere or Tomcat.

    FMS, on the other hand, is an server application from Adobe that can accept connections from Flash clients via the RTMP protocol. It can perform the server-side game logic but it cannot connect directly with a database and therefore you would need Flash Remoting anyway, or XML sockets (see below) to act as a middleman for database queries. Also, FMS understands only ActionScript 1.0.

    A 3rd and possibly better solution is to use the XMLSocket class in your Flash client to communicate with your game server. The game server can then be written in the language of your choice and can therefore speak directly with a database if desired.

    I used the 3rd approach to write a Flash chat client that uses XMLSockets to communicate with a chat server written in Java.


    Good luck,
    Barry