Accessibility
 
Home > Products > Flash Remoting > Support > JRun/J2EE
Flash Icon Macromedia Flash Remoting Support Center - JRun/J2EE
Using server-side ActionScript in Macromedia JRun 4 with Macromedia Flash Remoting

In this tutorial, you will learn how to build a simple server-side ActionScript file (*.asr) in Macromedia JRun 4. Using server-side ActionScript, you can write ActionScript files that reside on the JRun server. Using the Macromedia Flash Remoting service in JRun 4, you can connect to ASR files, pass parameters, and return results.

The Macromedia Flash Remoting service provides a set of service adaptors in JRun 4, which handle incoming and outgoing communication between Macromedia Flash movies and the Java applications that you build in JRun. In addition to ASR files, the Macromedia Flash Remoting service in JRun 4 supports the following Java technologies:

JavaBeans
Java classes
Enterprise JavaBeans
Java Management Extensions (JMX) MBeans

To build Macromedia Flash movies that interact with JRun, you must install the Macromedia Flash MX authoring environment and JRun 4 on your system. The Macromedia Flash Remoting service in JRun 4 is included in the JRun installation.

You must also install the Macromedia Flash Remoting Components for the Macromedia Flash MX authoring environment, which include the necessary ActionScript classes, NetConnection Debugger, Services Browser, and documentation.

To download the Macromedia Flash Remoting Components, visit the Macromedia Flash Remoting Support Center on the Macromedia website.

Using the Macromedia Flash Remoting service in JRun
Starting JRun
Building the server-side ActionScript file
Building the Macromedia Flash movie
Creating ActionScript
Connecting to the remote service on JRun
Calling the remote service functions
Handling the remote service function results


Article Information
Author: Rosemary Marano

Rosemary Marano is a Senior Technical Writer in the Instructional Media Development group of Macromedia. Rosemary has been with Macromedia for two years, coming from a previous career as a Molecular Biologist. Non-technical pursuits include running, dancing, and reading.


Last Updated: 21 June 2002

Keywords: Flash Remoting, Flash, JRun, tutorial, server-side ActionScript, ActionScript

Doc ID: 9044