Before we can generate the skeleton for our new LCDS application, we need to identify where the data services package has been installed on your computer. To do this:
- Launch Eclipse
- Window > Preferences…
- Expand “Flex Data Services” and select “FDS Installations”
- Click the new button and edit the path to “C:\Program Files\Adobe\lcds\flex.war”
- Click OK
We will now utilize Peter Martin’s FDS Plugin (installation explained in my previous post) to generate our application skeleton:
- New > Project…
- Expand “Flex Data Services” and select “Flex Data Services Project”
- Click Next
- Enter a project name (e.g. “HelloWorld”)
- In the Target Runtim area, you can click the new button to create a Server configuration on which to run your project. In my case, I will be using JBoss 4.2. Adobe explains how to install LCDS as a web application on several platforms.
- Click Next
- On the Project Facets screen, you will need to change the version of the Dynamic Web Module (there is a small black arrow to the right of the version number) for it to work with the FDS Plugin.
- Click Next
- Accept the defaults and click Next
- On the “Flex Data Services” screen, you will need to select the Flex WAR that we installed above (probably “fds1”), you can accept all other defaults
- Click Finish
When the wizard finishes, you should have a brand new LCDS application ready to go that includes handling for both Flex (client) and Java (server) components.
In future posts, I hope to explore the development of our application a bit further.