Installing the Adobe FDS


In this task, you will install the FDS on the Adobe JRun server.

1.

Install FDS with the integrated JRun server option using all the default settings. Double click the Flex Data Services installation file, FDS-win2.exe.

Accept the license agreement. Specify which browser to install the Flash player into. FDS, running on a stand-alone JRun server, enables you to have access to all the data services.

2.

Open Windows Explorer (or if you are working on another operating system, any type of file management utility) and navigate to the Flex context root. The default directory location for the Windows installation is the following:

c:\fds2\jrun4\servers\default\flex

This path refers to the application root, also known as the context root, which is where all the files you will use for the data services are installed. Note that underneath this directory, there is a subdirectory called WEB-INF, which contains all the directories and files that configure the behavior of a J2EE web application. Adobe Flex Data Services is available for Windows 2000 Server, Windows XP professional Server 2003, Red Hat Enterprise Server 4 or the SUSE Linux enterprise server from Novell.

3.

Open the WEB-INF directory within the context root and examine the files in this directory.

The web.xml file contains instructions for processing requests from the Flex client application. The flex subdirectory contains all libraries and configuration files required by FDS, and the classes subdirectory is the preferred location for compiled Java classes that will be called by the FDS at run time. There is also a lib subdirectory, which is the preferred location for JAR files that contain compiled Java classes that will be called by the FDS at run time.

4.

Open a command window by clicking the Windows Start menu. Select the Run option, enter cmd, and click OK.

Because you installed the stand-alone version of JRun, you must start the server to use the FDS. In the first step, you installed the FDS as an application rather than a service, which means you must keep the command window open to keep the server running.

5.

Still in the command window, switch to the bin subdirectory of the integrated JRun server by using the change directory. Enter cd/fds2/jrun4/bin at the prompt. The bin directory is under the data services root, and this is where you start the FDS service.

6.

Enter this command:

jrun -start default 


You should see the JRun server start in the command window. FDS is now ready to use.




Adobe Flex 2.Training from the Source
Adobe Flex 2: Training from the Source
ISBN: 032142316X
EAN: 2147483647
Year: 2006
Pages: 225

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net