Meet the Guru Courses

  • Flex 3 Meet the Guru Course with Marco Casario

My Books

  • Follow me on Twitter

Comtaste's Projects

  • Flex Solutions: Essential Tecniques for Flex 3 Developers - The Site
  • Comtaste, Flex 3, AIR and Java consulting
  • YouThru Multimedia Web Messaging
  • MobyMobile
  • UserMatter(s) Magazine
My Photo

Subscribe my blog

  • Get this widget from Widgetbox
  • Add to Google
  • RSS FEEDS
  • Enter your Email here to subscribe :



    Powered by FeedBlitz

« The one item issue with your HTTPService response XML data | Main | My contribute to Professional Flex 2 book »

How to install and develop using Flex 2 (FDS) and EJB3 projects - Part 1

I'll promise you to write some tutorials on how to integrate Flex 2 with your EJB3 applications. So in this first part I'll talk about the JBoss options and settings yo have to modfiy in order to deploy Flex Data Services 2 on our J2EE enviroment.

Let's start with JBoss settings.
In order to start the JBoss server you have to modify the bat script (JBOSS_HOME/bin/run.bat ) adding the JAVA enviroment variable (JAVA_HOME). Then to activate the remote debug through JPDA change and edit the following lines of code :

set JAVA_HOME=/..../jdk5.0
set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n %JAVA_OPTS%

If you have the 8000 port busy, you have to modify and change it.
The installation of Flex Data Services is very simple. For using FDS under JBoss just copy the flex.war application file on the JBOSS_HOME/server/default/deploy directory. Create a folder inside this path with the name flex.war.
NOTE: the directory has to be named "flex.war", like the file. In this way JBoss is able to automatically deploy the flex.war file as application.

You can test the evniroment launching this url : http://localhost:8080/flex .
You'll obtain the Welcome page of Flex Data Services.

In the next part of the series dedicated to Flex 2, Flex Data Services and EJB3 I'll show you how to create our first EJB3 project.
If you're italian have also a look at the great articles that Roberto Tassi wrote about EJB3 and Flex 2 integration on FlexGala user Group.

Post a comment

If you have a TypeKey or TypePad account, please Sign In

Pistach.io

Speaker at

Upcoming Conferences

  • FITC200x200.jpg
  • AJAXWorld
  • CFUnited
  • SOA World Conference
  • iPhone Summit
  • 360Flex Europe

WebDeveloper's Journal Author

  • My favourite Flash Lite 3 mobile phone
  • Web Developer's & Designer's Journal by Sys Con Media
  • Web Developer's & Designer's Journal Blogger
    Web Developer's & Designer's Journal by Sys Con Media
  • FullAsGoog Aggregator
  • Macromedia WebLogs Aggregator

July 2008

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31