Directory structure for the new Data Services Project

1) I do as prescribed in the manual "Building and deploying
Flex 2 Applications", page 325
"To create a web application make a copy of the /flex
directory and its contents. Rename the copy and store it in the
same location under /servers/default directory."
("flex" is an empty Flex Data Services application that
serves as a template for creating your custom application)
2) I create a corresponding project from Flex Builder 2 :
Project type: Flex Data Services
Root folder: C:\fds2\jrun4\servers\default\MyDS
Root URL:
http://localhost:8700/default/MyDS
Project name: MyDS
Project contents: C:\fds2\jrun4\servers\default\MyDS
2) I build the project
Immediately after "build project" the directory structure at
C:\fds2\jrun4\servers\default\MyDS becomes the following:
.settings
bin
----------------META-INF
----------------WEB-INF
---------------- --------------- classes
---------------- ---------------flex
--------------------------------jsp
--------------------------------lib
-------------------------------sessions
html-template
META-INF
WEB-INF
----------------classes
----------------flex
----------------jsp
----------------lib
----------------sessions
Notice that bin directory now contains another pair of
META-INF and WEB-INF in addition to those already existing in the
template project "flex".
Can anybody comment on this directory structure?
Which META-INF and WEB-INF are supposed to be used for
configuration?
What is the purpose of having two pairs of META-INF and
WEB-INF in the same web app?

Hello -
first, those folders are necessary in deployment - You need
only the contents of the bin folder for deployment, not the
sources. Since you're compiling the application locally in FB2 it
places all of the supporting and necessary files into one location
namely the "bin" folder. You'd deploy the "bin" folder's contents
to the FDS server, perhaps another FDS server that is not your
"development" server -- like a production server. The data and
configuration information that your app needs for FDS services are
stored in the WEB-INF and META-INF folders so these need to travel
with the final product. On the production server you'd just cop the
"bin" folder and it's contents to the /servers/default folder -
where you could then rename your bin folder to "MyDS"
HTH, Bill

Similar Messages

  • Using the new Data/Services generation with server push

    Have moved my Flex/BlazeDS app (which uses Blaze AMFChannel for request/response messages and StreamingAMFChannel for server push messaging) from Flex Builder 3 to Flash Builder 4. The new Data/Services works fine to generate service classes and value objects for the request/response messages, question is can it provide any help setting up a messaging consumer and value objects for the pushed data?
    rick holland

    I am so sorry - I meant AirPort Express - not extreme - but it's moot since I missed the point of your post - you want two outputs - and one to not be digital.
    For what it's worth - I still think the express might be your best bet.
    http://www.apple.com/airportexpress/airtunes.html
    It has combined digital/analog out - you plug in one and it switches the output depending on which connection is inserted. I would expect a very short wait until everything accepts digital input - expecially for people who want good sound quality. If you have to go digital to analog outside of the receiver/amp (where it really belongs) - why not let it be the express sitting right next to where you want the second "receiver" to be...

  • I just signed up for the New REVEL service and I need to know How do I download it to my Computer?

    i currently use ADOBE PHOTOSHOP ELEMENTS 9 to Download and Edit my Photos from my Camera.
    Now, I just signed up (under the Monthly Plan) for the New REVEL Service. How do I Download it to my Computer.
    My Computer uses the WINDOWS 8 Operating System.
    HELP,
    TOBY

    Hi Toby
    Welcome to Adobe Revel! You do not need to download anything right now. Currently on a PC you access Revel via adoberevel.com on a web browser.
    Here are some useful links for you that might speed up the learning curve. They show you how to do things in the browser version as well as Mac and iOS. PC users can not edit using adoberevel.com. The apps include editing. Since Elements versions prior to version 11 do not connect to Revel, you can save to your hard drive and upload to Revel from there.
    You can sign up to be notified when a Revel app is available for Windows and Android by going to http://www.photoshop.com/products/revel ….scroll down and look on the right side where it says "coming soon- Notify me" for windows or android. Click and you can sign up to be notified.
    In the coming months, we will expand Revel onto new platforms, devices, and file formats.
    Pattie
    SHARE
    FAQ: How do I share my photos in Revel?
    http://forums.adobe.com/thread/1295026?tstart=0
    UPLOAD
    FAQ: How do I add (upload) files to Revel?
    http://forums.adobe.com/thread/1162795?tstart=0
    DOWNLOAD
    FAQ: How Do I Download files from Revel?
    http://forums.adobe.com/thread/1166462?tstart=0
    EDIT
    FAQ: How do I edit photos in Revel?
    http://forums.adobe.com/message/5088287#5088287
    DELETE
    FAQ? How do I delete a file in Revel?
    http://forums.adobe.com/thread/1162793?tstart=0

  • Looking for the New Upgradations in Project Costing from 11.5.3 to 11.5.10

    Hi All,
    Iam looking at the New Features added in Project Costing as we need to give a demo for the client on the advantages of Upgrading from 11.5.3 to 11.5.10. any record on these lines would be of great help to us.Appreciate your kind suggestions in this regard.
    Thanks in Advance,
    Satyam Team

    Hi, a basic brief of the upgrade the principal steps are:
    1.- Cloning your 11.5.3 OEBS to a new server (IBM AIX 5.2), with similar characteristics to the final server in Production.
    2.- To continue with the steps described in the note of metalink 316365.1 - Oracle Applications Release 11.5.10.2 Maintenance Pack Installation Instructions.
    3.- To do a set of tests that include cycles of revenue and expenditures, this way as technical tests, and review all customizations.
    This basic step must be led to end in an environment of test, and when all the tests certified the environment , to do it in production server.
    Good Luck

  • Query on DNS setup for Active Directory for a new data center

    I have third party DNS appliances providing DNS Service for Active Directory (Windows 2008 R2) and there are also secondary DNS servers, which are MS DNS server with a secondary zone configured, for redundancy. I have to setup a new data center
    and move servers/services to this data center. In this scenario, can I install a new Microsoft DNS server with a secondary zone and use this as the primary DNS Server for all the member servers at this new location ? I am aware that this new DNS server will
    not be able to make any updates to the secondary zone and for that purpose, is there anyway to redirect such requests to the DNS appliances in my current data center across the WAN ? I am trying to avoid purchasing a new DNS appliance for the new data center
    and want to know what are the alternatives I have.
     

    im not entirely sure by your setup, as normally you would use AD integrated zones for DNS in an AD environment - although there are other options as you have already setup.
    the fact the zone is a secondary zone in DNS server terms doesn't mean you can't point your clients to it as their primary dns server. They will quite happily resolve names using a secondary server.
    so as long as your dns devices are correctly setup to support the additional secondary zone I see no reason why you couldn't do this.
    Regards,
    Denis Cooper
    MCITP EA - MCT
    Help keep the forums tidy, if this has helped please mark it as an answer
    My Blog
    LinkedIn:

  • Directory Structure for Discoverer

    Hi,
    I have couple of queries...
    1. What is the directory structure for discoverer on Unix in Application Server?
    2. Is there any extention for the woekbook saved in the database like .dis?
    I am working on discoverer 10g with Oracle Apps.
    Thanks...

    1. On a Solaris machine where I have Discoverer 10g (9.0.4.3) installed the directory structure for the Oracle home looks like this:
    $ cd h9043
    $ pwd
    $ /home2/h9043
    $ ls
    Apache install.platform opmn srvm
    BC4J inventory oracore sso
    JRE j2ee ord syndication
    OPatch javacache otrace sysman
    assistants javavm oui tk
    bibeans jdbc owm tools
    bin jdk perl uat
    browser jinit plsql uddi
    cfgtoollogs jis portal uix
    chgip jlib precomp ultrasearch
    config jpi procbuilder90 upgrade
    dbs jre rdbms ut
    dcm jsp relnotes vbroker4
    diagnostics lbs reports wcs
    discoverer ldap root.sh webcache
    error.txt lib root.sh.old webservices
    forms90 mesg slax wireless
    guicommon9 mp soap xdk
    iaspt network sqlj zrc
    install ocommon sqlplus
    2. The ability to save workbooks to a file system is available only on Discoverer Dekstop, which runs on Windows.
    Thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    Documentation: http://docs.oracle.com/
    Discoverer: http://www.oracle.com/technology/products/discoverer/
    BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
    BI Samples: http://www.oracle.com/technology/products/bi/samples/
    Blog: http://oraclebi.blogspot.com/

  • What is the new data structure for .RTM files in LV8?

    We have software that translates our LV
    program to another language.  Part of that software package reads RTM
    files, decodes them, replaces text, and resaves them.  That code is
    broken for menus that are saved in LV8+, however.  What is the new data
    structure?
    The simple attached zip file has vi's which
    are not ours but serve to illustrate the point.  If it's run on an
    older RTM file, it correctly outputs and XML version of it, on newer
    RTM files it just throws an error.
    -- This is the second time I posted this.  I was curious what the Solution? icon did on somebody elses post and I apparently marked the whole thread as solved (there should really be an undo on that feature btw --
    Attachments:
    RunTime_Menu_to_XML.zip ‏33 KB

    Hi Thomas,
     What error are you getting when running the program?  I was actually able to run it without errors in LV 8.6.  
    There are ways to programmatically read and customize RTM files in LabVIEW.  I hope that the following links will help:
    http://zone.ni.com/reference/en-XX/help/371361B-01/lvhowto/customizing_shortcut_menus_programm/
    http://digital.ni.com/public.nsf/allkb/17803AA31C8C07C986256CFD0080D609?OpenDocument
    Cheers, 
    Marti C
    Applications Engineer
    National Instruments
    NI Medical

  • Help me out with Directory structure for JSF+SPRING+HIBERNATE Project

    Hi frnds ,
    My name is Walter working for a startup software company . We are working on Hospital Management System (HMS) project .. MVC Architecture ...using Hibernate Spring and JSF ..we need to design Directory Structure for our project..
    plzz help me friends in suggesting MVC Directory structure ...? also plzz help me by directing me with the navigation flow?
    Thnxx in advance
    Regards
    Walter

    Thank you so much .. friends ..for your kind replies..thanks to Illu, anguquga and special thanks to BalusC for giving me the advice for hiring EE Artitech ..
    Anyways I have discussed with my teammates designing the directory structure
    anguquga your directory structure is close to what I have designed ..referiing to a sample application on web..
    Hospital Management system MVC architecture Directory structure
    This is the way the structure goes on ..
    model --> for Hibernate as well as Spring
    View --> for JSF
    src(-)
    |
    ------(-) java
         |
         -------(-) model
              |
              ------(+) businessobject
              |
              ------(-) dao
              |
              ------(+) hibernate
              |
              ------(+) exception
              |
              ------(-) service
              |
              ------ (+) impl
              |
              ------(+) util
              (-) view
              |
              ------(+) bean
              |
              ------(+) builder
              |
              ------(+) bundle
              |
              ------(+) servicelocator
              |
              ------(+) util
              |
              ------(+) validator
    (-) Web or WebRoot
    |
    ----- (-) JSP Files�etc.,
    |
    ----- (-) META-INF
    |
         ------     (+) Images
    |
         ------     (+) Scripts ==== CSS (cascading style sheets, JavaScript files etc.,)
    |
    ----- (-) WEB-INF =========xml files web.xml, faces-config.xml etc.,
         |
         -----(-) Classes
              |
    -----(-) HMS
    |
                   ----- (+) model
                   |
                   ----- (+) view
    |
    ----- (+) lib
    I am sure you may notice few errors .. if u find any plzz reply me back.... thnxx in advance for replies...and thnxx for giving your valuable replies...
    Walter (Kaleem)

  • 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

  • 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

  • Whenever i try to download a rather large file i continue to get the "could not read source file" error. Tried new profile, uninstalling and looking for the compreg.dat file to delete nothing is working. Please help

    whenever i try to download a rather large file i continue to get the "could not read source file" error. Tried new profile, uninstalling and looking for the compreg.dat file to delete nothing is working. Please help

    Did you reinstall CS3 after CC?
    For that matter, doing an in-place upgrade on the OS is always a gamble with Adobe programs. Reinstalling all the versions you need, in order, would probably solve your problem.
    And you shouldn't need to save as IDML after opening the .inx in CC.

  • HT201210 In updating my iphone for the new software ios6. An error occurred and now is asking me to restore settings.  But I don't want to lose my data

    In updating my iphone 5 for the new software ios6. An error occurred and now is asking me to restore settings.  But I don't want torestore setting causing not all of my recent data has been synced and I don't want to  lose my data. How can I undo this since i did not hit restore settings, yet i can't do any other move without restoring at this point. Any ideas?

    You phone is in recovery mode.  Your data is already gone.
    Why you would attempt a software upgrade without backing up all your data first is beyond me, but to each his own.
    In any case, sorry for your data loss.

  • I have a numbers spreadsheet for tracking company data.  I want to copy the format of the spreadsheet (rows, columns,and formulas) but have all of the data fields be blank for the new year.  How do I do that?

    I have a numbers spreadsheet for tracking company data.  I want to copy the format of the spreadsheet (rows, columns,and formulas) but have all of the data fields be blank for the new year.  How do I do that?

    click and hold on one cell, then drag to select the range, then release, then type the delete key.  Only inlude cells in the range you do not want to keey the contents of the cell.  You can remove one-off cells by holding the command key and clicking cells to add or remove as needed.
    You can download the Numbers users guide here:
    http://support.apple.com/manuals/#productivitysoftware

  • Trying to change the APN on my iPad for a new data provider.  Each time it returns to the original. Any suggestions?

    trying to change the APN on my iPad for a new data provider.  Each time it returns to the original. Any suggestions?

    Hi Canberabomber,
    If you are having issues setting or changing the APN on your iPad, you may find the following article helpful (apologies if you have already seen it):
    iOS: About cellular data network settings (viewing or editing the APN)
    http://support.apple.com/kb/ht2283
    Regards,
    - Brenden

  • When I first bought it, it was meant to use all the services provided by Great Apple including the new LTE service as a main service for such device. Now I just realize that such service does not match with the model I have ... Pease advise ..

    Greetings,
    I hope this email finds you well. I bought my iPhone on December 1st, 2012 with a track order W459517623. When I first bought it, it was meant to use all the services provided by Great Apple including the new LTE service as a main service for such device. Now I just realize that such service does not match with the model I have, as per this link:
    http://www.apple.com/iphone/LTE/
    Model A1429
    (GSM model)
                                                                  Saudi Arabia - Mobily
    The model Apple sent is A1428
    I believe that such service should be provided to my devices too. Also, Apple always find best ways to solve such queries. 
    Please advise me
    Thank you and Regards,
    Abdulrahman

    I'm assuming you bought it via the Apple Online store. Contact them. Use the Contact Us link at the bottom of the page. Did you buy the phone from the store in the country you intend to USE the iPhone? If you bought the phone in the US store and intend to use it OUTSIDE the US, you only have yourself to blame, as they shipped the CORRECT phone for use in the US.

Maybe you are looking for