Flex Data Service : deployment and reusage

I am currently trying out different deployment methods to
deploy the flex.war on JBoss.
So far the WAR-file itself and any other EAR/WAR that
contains the contents of flex.war run properly.
However as far as I understood this file is merely a template
for your web application, meaning that I would have to include 10
MB of jars and several config files in every web application that
uses flex.
I want to know if there is a more scalable solution.
I already tried to put most of the jars in the shared library
folder of my container but then it throw ClassNotFoundExceptions
from classes that are in the shared lib and since there is no clear
document on what jar files are needed to run FDS and which ones can
be left out, it is a little cumbersome to add the whole chunk for
every web app.

u can flex folder in flex.war
sun

Similar Messages

  • Flex Data Services JOTM, JTA and JMX downloads

    I am not a Java developer. I am an Information Architect/UI
    Designer and up until a few months ago, I designed GUIs using MS
    Studio.Net -- Tomcat is a little different IIS, to say the least.
    =)
    I have downloaded the trial software of Flex Builder 2 and
    Flex Data Services to test it with intent to purchase.
    I was getting real happy with Flex Builder 2. Breezing
    through the "Getting Started" and all the tutorials. Absolutely
    Love it.
    Then along comes Flex Data Services. This application has
    bought me to a screeching halt.
    I've downloaded the files according to the instructions at:
    http://www.adobe.com/support/documentation/en/flex/2/install.html#flexj2ee.
    I placed the files in my webapps directory running on tomcat.
    However, according to the instructions at:
    http://www.adobe.com/support/documentation/en/flex/2/install.html#tomcat,
    I need to download additional applications in order to
    correctly use FDS. I have tried to download the JOTM 2.0.10.tgz
    from
    http://forge.objectweb.org/project/download.php?group_id=19&file_id=3926
    without success. When I try to unzip the file (I am running
    Windows XP Professional), I get the following error:
    "Error reading header after processing 0 entries."
    I've tried to download three different versions of JOTM, no
    luck. Our Java developer suggested that I save the "tar" file as a
    "zip" file and try to open it after download. However, when I try
    to open the archive in WinZip it returns this error:
    "Cannot open file: it does not appear to be a valid archive.
    If you downloaded this file, try downloading the file again."
    Both of these errors occur when trying to open the downloaded
    JOTM 2.0.10.tgz and JOTM 2.0.8.tgz files.
    How can I get these applications? Has anyone had any success
    in downloading these files from:
    http://forge.objectweb.org/project/showfiles.php?group_id=19&release_id=1024
    The downloaded archive files are empty. I can not run any of
    the Data Service samples.
    When I tried at:
    http://localhost:8080/samples/dataservice/flexcab/flexcabDispatcher.mxml
    A service error prompt returns: "Unable to access
    UserTransaction in Dataservice".
    I'm assuming this is because the JOTM (et. al) is not on my
    box, because the archive is empty when I try to open it in WinZip.
    Also, while I was reading the installation instructions for
    Tomcat at:
    http://www.adobe.com/support/documentation/en/flex/2/install.html#tomcat
    it seems pretty complicated for a non-Java programmer to
    understand. I asked one of our 6-year veteran Java developers here
    to help me with this and he said it was a pretty a complicated
    process for someone w/o Java programming experience. I thought it
    was geared towards front-end developers. But he did say that if I
    can't download the JOTM, I won't be able to do whatever it is that
    Flex Data Services is supposed to do. I say the latter because I am
    still in the "Getting Started" manual going through the last of the
    tutorials (which is the Flex Data Services distributed application
    tutorial) before I start reading "Using Flex", so I'm not really
    sure what lessons I will be doing that require FDS to work
    correctly on my box.
    Do I really need the FDS to build interactive applications in
    Flex Builder?
    I appreciate your answers. Thanks in advance.

    I agree with you about the process of getting FDS installed
    and working. I recommend that you try Christophe Coenraets FDMS
    tutorial. The JOTM files are in "tar" format, and so I think you'll
    have to extract them using a "tar" utility. This is included with
    any Unix variant, and so I asked someone at work to extract the
    files; on Windows I think you'll have to find a free "tar" program.
    I downloaded jotm-2.0.10.tar from the JOTM Sourceforge. Use
    parameters "-xf" if the tar file is not compressed, or "-zxf" if it
    is compressed. Good luck!

  • How to install Flex Data Services 2 on Coldfusion MX 7?

    hello,
    How to install Flex Data Services 2 on Coldfusion MX 7?
    was is tomcat..
    I want to use RemoteObject(CFC) for oracle.
    Thanks for your support.

    Hello -
    To use mx:RemoteObject with CFC you don't even need FDS, you
    can use FlexBuilder 2.0 and use it's internal FDS SDK to build,
    compile and deploy full apps to be used in conjunction with CF 7.02
    (Flex Connectivity)
    Secondly, if you do want to install the full FDS 2.0
    enterprise software you can find the instructions to do so for J2EE
    apps servers here
    http://www.adobe.com/support/documentation/en/flex/2/install.html#flexj2ee
    HTH, Bill

  • Error while creating New flex data services project

    Hi
    Error: Invalid server root. flex-config.xml or
    flex-enterprise-services.xml must exist in the WEB-INF/flex folder
    within the server root.
    Trying to create flex data services project with Weblogic8.1
    as the j2ee server, but am geting the above error in the screen
    where i point to the root of the server.
    I did deploy flex on weblogic.
    I would appreciate any help.
    Thank you
    Sun

    Hi Nj,
    Thanks for you reply, I did point root folder to WEB-INF
    folder(which contains flex folder). My WEB-INF folder is in the
    weblogics "c://bea/userprojects/applications/appname/"
    this the value in the root folder field "
    C:\bea81SP5\user_projects\applications\dcgsaApplication\dcgsAdaptersWeb\WEB-INF\flex"
    Let me know if am doing anything wrong.
    thank you
    sun

  • FLex Data service

    I run into problem when i create Flex Data Service project. I
    get error when i try to compile my code
    "Invalid byte 1 of 1-byte UTF-8 sequence"
    Doesnt say anything more of what is going on. I tried it both
    on Vista and XP but sometimes project runs and after a while i
    start receiving this error again.
    Thanks in advance

    What about ColdFusion?

  • Flex Data Services tutorial error

    In the "Before You Begin" section of the Flex Data Services
    tutorial in "Getting Started with Flex", the first bullet is
    incorrect. It text should be:
    "Ensure that you have installed the Flex Data Services Beta 3
    release and that you can run the applications in the samples web
    application."
    The installation instructions are located here:
    http://www.adobe.com/go/flex2_installation
    The tutorial zip file is located here:
    http://www.macromedia.com/go/flex2beta1_quickstart_tutorial_zip
    - Mike Peterson
    Adobe Flex documentation team

    Hi, I found some more "issues" with these data services
    tutorial.
    First of working with the notes example at first I couldn't
    get the two browsers to talk to eachother until I found this
    comment by funk_sf on the livedocs:
    quote:
    after some searching, I located a link to the tutorial.zip
    here:
    http://www.macromedia.com/go/flex2beta1_quickstart_tutorial_zip.
    i unzip'd the contents into my samples directory so that I had the
    following path: C:\fds2\jrun4\servers\default\samples\tutorials
    the xml file in WEB-INF for the standalone flexbuilder 2b3 is
    located at C:\fds2\resources\config as mentioned in the comments on
    the previous page (
    http://livedocs.macromedia.com/labs/1/flex20beta3/00000129.html)
    as for creating the tutorial1.mxml file, i created a new Flex
    project with the following settings (this is from memory, so
    hopefully i recall all the steps right):
    File->New Flex Project
    How will you flex application access data? -> Flex Data
    Services -> Compile application locally in Flex Builder
    root folder: C:\fds2\jrun4\servers\default\samples
    root url:
    http://localhost:8700/samples/
    I left the build paths to their defaults (ie. blank)
    named the main application file: tutorial1.mxml
    output folder: tutorial
    output folder url: [blank]
    So I followed his advice, deleted my project and made it in
    the samples directory and the notes application started to work, so
    all appeared good.
    Until I was making the Java example and I'm now faced with
    the following errors:
    Severity Description Resource In Folder Location Creation
    Time Id
    2 Definition samples.contact:Contact could not be found.
    tutorial2.mxml Tutorials line 8 6 juni 2006 16:36:25 20
    Severity Description Resource In Folder Location Creation
    Time Id
    2 Type was not found or was not a compile-time constant:
    Contact. tutorial2.mxml Tutorials line 13 6 juni 2006 16:36:25 21
    I'm not sure what is happening, I think it can't find the
    data service files but I don't know how to make it so that it does
    find those files, the manual is still a bit vague on that and when
    I try to run this application it just shows a blue (flex) screen.
    The code I'm using is straight from the example documentation after
    tinkering around for 2 days to get this to work I thought using
    original code is the best way to go.
    My application tries to run from
    http://localhost:8700/samples/bin/tutorial2.html
    The documentation states:
    Open the following URL in two browser windows:
    [L=http://localhost:port/samples/tutorials/tutorial2.mxml
    The screenshots in the documentation show:
    Window1: /tutorial/tutorial1.mxml
    Window2: /dataservice/contact/tutorial_step4.mxml
    Now I'm just confused, tutorial1.mxml is my notes application
    which was the previous tutorial and there was no mention of a
    tutorial_step4.mxml file ?
    Someone help me please with where to place these files and
    why so I can understand what is happening here.
    Thanks :)

  • New Flex Data Services Project

    Hi all,
    When creating new Flex Data Services Project i found this
    error
    "Unexpected attribute 'url' found in 'endpoint' from file:
    services-config.xml."
    and i don't know what it means.

    Hi Nj,
    Thanks for you reply, I did point root folder to WEB-INF
    folder(which contains flex folder). My WEB-INF folder is in the
    weblogics "c://bea/userprojects/applications/appname/"
    this the value in the root folder field "
    C:\bea81SP5\user_projects\applications\dcgsaApplication\dcgsAdaptersWeb\WEB-INF\flex"
    Let me know if am doing anything wrong.
    thank you
    sun

  • Free alternatives to Flex Data Services

    Are there free alternatives to Flex Data Services? YES I KNOW
    ABOUT THE FREE LICENSE... but that is for a SINGLE CPU... not for
    the real world...I'm talking about really free... as in MySQL, if
    you know what you're doing free...
    Thanks!

    Me too. A few stumbles but it really was easy to use.....
    Only drawback is would like to easily secure the "service
    browser"... and my copy of ServiceCapture was invaluable (to me)...
    http://amfphp.sourceforge.net/
    Thanks, Matt M.

  • Populate ComboBox from database - NOT using Flex Data Services

    Hi there,
    We are using CF with Flex but are not using the Flex Data
    Service. I'm very much a newb and I'm having trouble finding any
    information on how to populate controles from a database without
    using Flex Data Service. Any help would be greatly appreciated.
    First I have a page... JobSearch.mxml that contains a combo
    box that I want to populate with the job_id and job_title from a
    MSSQL database.
    In Flex in the RDS DataView I used the "Create CFC" Wizard
    which generated "job.cfc" and "jobGateway.cfc". It also generated
    "job.as".
    The CF Function that selects the data appears to be defaulted
    and called "load" and the .as function is called simply "job".
    So, that all looks great. But I can't find any information on
    what I need to have on my JobSearch.mxml to actually get this data
    into the comboBox.
    I did:
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var jobData:job = null;
    ]]>
    </mx:Script>
    And then:
    <mx:ComboBox
    text="{jobData.job_title}"></mx:ComboBox>
    But I'm being told "Type was not found or was not a
    complie-time constant: job"
    I guess I'm missing something, or doing something way
    wrong... I just don't know enough of Flex at this point to know
    what it is.
    Thanks!
    April

    Using php or asp is not an option, as we are a Cold Fusion
    House.
    I was looking at an article on Ben Forta's blog (
    http://www.forta.com/blog/index.cfm?mode=e&entry=1786)
    and following his example I did this... only it doesn't work:
    I'm very very new to Flash and we are using ColdFusion but
    are not using Flex Data Services. I've been trying to figure out
    how to populate a combobox from a database and I'm just not having
    any luck.
    My project is called "PreTraffic". I have my main file as
    "JobSearch.mxml" and a folder under the root named "cfc" with a
    file called "job.cfc".
    job.cfc contains the following code:
    <cfcomponent>
    <!--- Get jobs --->
    <cffunction name="GetJob" access="remote"
    returntype="query" output="false">
    <cfset var job="">
    <cfset var results="">
    <cfquery datasource="discsdev" name="job">
    SELECT job_id, job_title
    FROM job
    WHERE status = 'O'
    ORDER BY job_title
    </cfquery>
    <cfquery dbtype="query" name="results">
    SELECT job_title AS label, job_id AS data
    FROM job
    ORDER BY label
    </cfquery>
    <cfreturn results>
    </cffunction>
    </cfcomponent>
    And JobSearch.mxml has the following code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*"
    layout="absolute"
    backgroundGradientColors="[#ffffff, #d0d0d0]"
    creationComplete="InitApp()">
    <mx:Style source="style.css" />
    <mx:Script>
    <![CDATA[
    public function InitApp():void {
    jobSvc.GetJob();
    ]]>
    </mx:Script>
    <!-- ColdFusion CFC (via AMF) -->
    <mx:RemoteObject id="jobSvc" destination="PreTraffic"
    showBusyCursor="true" />
    <mx:VBox label="Job History" width="100%" height="100%"
    x="10" y="92">
    <mx:Label text="Search jobs by"/>
    <mx:Form label="Task" width="100%">
    <mx:FormItem label="Job Name:">
    <mx:ComboBox id="jobNameCB"
    dataProvider="{jobSvc.GetJob.results}"></mx:ComboBox>
    </mx:FormItem>
    </mx:Form>
    <mx:HBox>
    <mx:Button label="Search"/>
    <mx:Button label="Clear"/>
    </mx:HBox>
    </mx:VBox>
    </mx:Application>
    My Compiler thingy points to:
    -services
    "/Volumes/flexwwwroot/WEB-INF/flex/job-services-config.xml" -locale
    en_US
    and job-services-config.xml contains the following code:
    <destination id="PreTraffic">
    <channels>
    <channel ref="my-cfamf"/>
    </channels>
    <properties>
    <source>flex.pretraffic.cfc.job</source>
    <lowercase-keys>true</lowercase-keys>
    </properties>
    </destination>
    Well, when I run the app... the combobox is not populated...
    Can anyone help with what I've done wrong?
    Thanks!
    April

  • To fetch details of services deployed and their version number

    We have an EM environment where in we have deployed composite applications. We have several partitions running with number of services deployed in them. We want to fetch the details of the services deployed and their versions in each partition from a file if it stored in a file or from a table if it is stored in table. We are not sure if these details are stored in a file or table. Instead of fetching manually from console everytime, We want it be retrieved in a file or table which will help us control versions of services deployed. Please help regarding this.

    Using ant -f ant-sca-mgmt.xml listCompositesInPartition, We can get the details of the composites deployed in a particular partition.

  • Interesting Document: Service Deployment  and Service Configuration  within the Internet of Things

    Hi All,
    an interesting document:
              Service Deployment  and Service Configuration  within the Internet of Things
    Best regards,
    Andy.

    Hello Marek,
    I suppose you are not planning to do any kinds of advanced config using several VLANs and multiple SSIDs so let's just make your configuration simple and working.
    In short, you need to remove all references to VLAN 1 and to any subinterfaces possibly related to the VLAN 1. This means in particular (follow these steps in sequence):
    Remove the Dot11Radio0.1 subinterface entirely
    In the Dot11Radio0 section, remove the encryption vlan 1 mode ciphers tkip command
    In the dot11 ssid ciscowifi section, remove the vlan 1 command
    After performing these steps, make sure that the ssid ciscowifi and encryption mode commands are still present in the Dot11Radio0 configuration, and if not, reenter them.
    Best regards,
    Peter

  • Flex Data Services

    Hi Guys,
    We have licensed version of Flex Builder with charting.But i
    want to connect MYSQL database through Flex data services.When I am
    trying to install the Flex Data Services 2 the installer prompts
    for a serial number.
    If we omit the serial number, the installer installs Flex
    Data Services Express but according to our project requirement we
    need FDS 2 only.
    Can anyone please suggest us which steps we have to follow.
    Thanks,
    Venkata

    I think you need Adobe LiveCycle Data Services (formerly
    FDS). In any case it is an additional product, apart from Flex
    Builder, so of course you would need a serial number.

  • Serial number for Flex Data service Beta 3

    Which serial umber should be entered for flex Data service
    beta 3. It says that if no serial number is entered it reverts to
    the Express version....

    There is a serial number in the
    Installation
    Instructions.

  • Difference Between Data Services Designer and Data Services Workbench

    Hello All,
    I am new to Data Services .
    What is the difference between Data Services Designer and Data Services Workbench .
    Am bit confused in the above two .
    Please help me to understand the same.
    Thanks in advance.
    Aisurya

    Workbench is used to create, display and modify the objects. It will display the source table data and we can see the logs of the job which we have executed and also we can see the status of a job. In bods 4.2 you can design the dataflow in workbench in previous release we don’t have that option but designer contains debugging option, you can write scripts,  it will support all databases; these option are not available in workbench. for more information refer this document:
    https://decisionfirst.files.wordpress.com/2014/07/data-services-workbench-intro.pdf
    http://scn.sap.com/community/data-services/blog/2014/03/01/data-services-42-workbench
    http://scn.sap.com/community/data-services/blog/2013/01/24/data-services-workbench-part-1

  • Flex data services and data managment.

    Hi!
    I have a question about data services with data managment enabled in Adobe Flex Builder 4. The issue is more theoretical than practical.
    When I need to remove an item from the DataProvider  I use the delete method of autogenerated service, but when I need to add or update item in DataProvider, I use methods of DataProvider ArrayCollection directly (addItem ...). When I try to remove item from the DataProvider with removeAt method, no changes made to database after commit. Why and how this stuff works?
    P.S. Sorry for my bad English, I use Google transltate.

    Thanks for the reply. Yes, I did compile all the Java and it
    works OK with a simple Java program. It just will not work in a
    Flex application.
    The java classes are:
    RRA:
    package blah.myPackage;
    import java.util.List;
    import java.util.Collection;
    import flex.data.DataSyncException;
    import flex.data.assemblers.AbstractAssembler;
    class RRA extends AbstractAssembler
    public Collection fill( List fillParameters )
    RRS service = new RRS();
    return service.getSome();
    RRS:
    package blah.myPackage;
    import java.util.ArrayList;
    import java.util.List;
    import java.sql.*;
    import flex.EORS.*;
    class RRS
    public List getSome()
    ArrayList list = new ArrayList();
    String str = "bob";
    RR rr = new RR(str);
    list.add(rr);
    return list;
    RR:
    package blah.myPackage;
    class RR
    private String name;
    public RR() { }
    public RR(String name)
    this.name = name;
    public String getName()
    return this.name;
    public void setName(String name)
    this.name = name;
    I started with something that retrieved data from a database
    but watered it down just to try and get some kind of communication
    between Flex and Java.

Maybe you are looking for

  • Using DECODE Function to change data

    I am trying to use the Decode function in a SQL statement to find a field that has a specific type, and when it finds that type, I want to blank out the results in a different field. For example: DECODE(ADDR_TYPE,'HOME',PHONE='') HOME_PHONE

  • I am using Acrobat Pro 9.5.5 on Windows 8.1. I cannnot print an oversize document.

    I am trying to print an oversize document 950mm x 2300mm.  With the printer set to "fit to printed area" and "oversized pages" and size "backdrop 950x2300" I get a print preview image in the printer window.  When I click OK the save window appears. 

  • File transfer status in rxvt-unicode?

    Hello, I had mounted a cifs and had been copying some movies from one of my computers to another through the terminal (mount -t cifs comp1:/share/ ~/somemntpoint) and I realized that I had no idea about the status of the file transfer.  Is there an a

  • Blackberry pearl 8100

    when power on red status light gives 3 flashes pause then one more,  have to remove battery to stop what may be the fault

  • OBIEE Infrastructure - Set Up

    We are in the process of setting up test and production environment for OBIEE deployment. Currently we have a development environment on a windows 2003 server and we are using OC4J server for the presentation and Dash board deployment. Now we want to