The invention relates to a Flex
server-free external program invoking method. The Flex
server-free external program invoking method includes steps: step 1, building a socket connection on a Flex program; step 2, packaging the socket connection into a
jar package, and building a corresponding
socket interface for the
jar package; step 3, receiving requests sent by an external program, and invoking the
jar package through the
socket interface; step 4, enabling the jar package to respond to the external requests, building a socket channel, and converting the external requests into request messages; step 5, invoking different operation methods in the jar package for operation according to different types of the request messages, and generating an operation result; step 6, returning the operation result through the
socket interface, and then finishing. The Flex
server-free external program invoking method separates invoking of the Flex program from invoking of the external program, achieves a distinct
gradation, is convenient in development, release and deployment, does not need to consume manpower and
material resources to deploy an additional server for a Flex Air program of a
client end which needs to invoke external resources, and enhances platform independence and expansibility.