Whats a good way switch between a real and mock data service?

I have a new Flex application...and am contemplating the use of the Mate mock remote object capability.
However, I'd like the application to be able to switch back and forth between a real and mock data service without recompilation.  And without loading the mock service objects unless they are needed.
Whats a good way to handle this switching without recompiling the application?

The only way I can think of not having ANY mock services in the production code is to take them out manually.  Your program for mocking purposes is going to have to be able to know where these services/object are and how to contact them.  I'm sure if it had to be done , you could use some mass of modules and event maps.
Sincerely ,
  Ubu

Similar Messages

  • How to do integration between Oracle 11g and SAP Data services

    HI All,
              i want to load data from Oracle 11g data base to some other data bases. we have installed oracle 11g server in one machine and Data services server in one machine.we installed oracle 11g client in data services server machine . i created data store for oracle and when i was executing job i got the following error.
    how to resolve this issue. do i need to do any configuration between two servers (Oracle 11g and data services), and do i need create ODBC for oracle in data services machine.
    if any one know the solution please help me out ASAP.
    Thanks,
    Ramana

    Hi,
    we installed oracle client "win64_11gR2_client" version on DS Server.
    but i need the steps after installing oracle client tool. meaning integration between those two servers(Oracle and DS Server).and what are the variable create on DS Server and paths for variable and how to create ODBC for Oracle on DS Server.
    Thanks,
    Ramana

  • What is a maximum remoteness between time capsule and device for having a good wifi signal?

    What is a maximum remoteness between time capsule and device for having a good wifi signal?

    In open air.. line of sight you should work very well over 100M and most likely still work at 200M.
    Unfortunately in houses.. there is almost no way to tell. But you can assume signal on 5ghz will dimish very rapidly.. 2 or 3 walls/floors/major obstacles and nothing left.. 2.4ghz should manage your whole house but you might find signal in far corners unusable.  Count the number of walls, floors/ceilings it is going through in a straight path, router to client. You can think of it as a 4" pipe.. and even the angles are important.. if it hits a wall made of brick at acute angle it is twice as thick as hitting it dead on. Mirrors, tinted glass are metal reflectors.. reinforced concrete is both a reflector with metal bars and absorber with concrete.. add a bit of moisture content and it is a great block.

  • I'm using apple's bluetooth keyboard and I need an easy way to switch between the text and numbers fields instead of tapping on the screen

    I'm using apple's bluetooth keyboard and I need an easy way to switch between the text and numbers fields instead of tapping on the screen

    While not in edit mode:
    - if start typing numbers, then it enters number mode.
    - if start typing text, then it enters text mode.
    Using the arrow keys exits edit mode. So this should work for you:
    1 Type text into a cell, which enters text mode.
    2 Press Return to move to the next cell.
    3 Press right arrow key to exit edit mode.
    4 Press left arrow key to get back to the cell.
    5 Type a number, which enters number mode.
    Another method that requires more planning ahead of time is to format the cells as text or number before starting the data entry. Then when you navigate to a cell while in edit mode, you will be in the appropriate mode (without having to exit edit mode).
    This all works fine for me. Hopefullly it does for you also.

  • What are the major differences between 4.7 and ecc5.0

    hi all
    What are the major differences between 4.7 and ecc5.0
    regards
    JK Rao

    Hi,
    Good morning and greetings,
    Please use the following link
    http://solutionbrowser.erp.sap.fmpmedia.com
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • What is the exact difference between Purchse order and purchase requisition

    Hi all,
    What is the exact difference between Purchse order and purchase requisition.
    Thx

    Hi,
    <b>Purchase Requisition</b>-> Staff in an orgn places Pur requisition for want of some goods/products - ME51
    Related Table EBAN
    Request for Quotation(RFQ)-> The Purchase dept in the orgn calls/requests for the quotation for the products against which PR was raised. - ME41
    Vendor Evaluation->After receving the RFQ's, after comparison a Vendor is finalised based on the terms and conditions.
    <b>Purchase Order(PO)</b>-> Pur order was issued to that vendor asking him to supply the goods/products -ME21N
    Tables:EKKO,EKPO
    Goods Receipt Note(GRN)->Vendor supplies the material/Products to the orgn-
    MB01
    Goods Issue (GI) -> People receives their respective itesm for which they have placed the Requisitions
    Vendor, Material ,Qty are mandatory for PO.
    Regards,
    Padmam.

  • Switching between page layout and word processing

    I can't seem to switch between page layout and word processing view.  I've read all the posts on this and still can't figure out why I can't just type a document into Pages.  The only option I have in page layout view is to type into text boxes, which is not what I want.  I just want to type a letter for crying out loud.
    Before I get all the rants about reading User Guides, etc.  *I have*.  I've also searched on here and in-app help and just don't understand the fuzzy/non-existant answers.  Obviously, I'm a newbie, so please don't jump all over me for this.  If it was Word - I could do this in NO time.  I just find it incredibly frustrating that inputting a normal document should be so difficult.
    Is "Pages" *not* a word processing program?  Is it just a cut and paste application?  Sorry for the tone - I mean no disrespect - it's just that I've been fooling around with this for DAYS and I just don't have time to spare anymore.  I really need to get this done.
    Can somebody give me a straightforward answer on how to just type a normal document into pages without using text boxes?
    Thanks and I apologize for not being mac-savvy.  It took some of us a lot longer to see the light =)

    Here is a script doing the conversion task for you.
    Open a Page Layout document
    run this script:
    --{code}
    set p2t to (path to temporary items from user domain) as text
    set path_2_doc to p2t & (do shell script "date +_%Y%m%d_%H%M%S.doc")
    tell application "Pages"
      save document 1 in path_2_doc
      open file path_2_doc
    end tell
    --{code}
    that's all folks.
    Yvan KOENIG (VALLAURIS, France) lundi 20 juin 2011 18:03:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Delaying when switching between apple mail and safari

    just on mavericks.
    it more or less looks and feel ok but...
    when I switch between apple mail and safari, everything "freezes" for some seconds (up to 30).
    anyone similar experiences?
    what could be the cause of that?
    its really disturbing.

    I am a little puzzled by the libraries and switching between the libraries. My personal computer has the majority of the movies and content that would be transfered to the appletv. I chose to only select a minimal amount of content (of movies and tv shows, music via playlists) so there would be space left that would hold photos. Also, i just want to send over only what I want to view (manual synch) If I switch to my Kids library, it streams all the content well (movies & tv shows)(which is fine and streams well) If I switch back to my library, it shows every movie, every tv show, hundreds of music playlist that I did not choose to see. (stream mode) The only fix is to reboot the computer, and all is well. anyone experience this issue?

  • MacBook Pro won't automatically switch between internal speakers and display audio

    I have a MacBook Pro that connects to a LED Cinema display.  It used to automatically switch between internal speakers and display audio when plugged in to the display but won't anymore.  I have to manually change it in System Preferences --> Sound. Does anyone know how to make it do that again?
    thanks,
    Ben

    I just want to add, I have the same problem, and just want to help raise awareness of it.
    1st, the problem only started recently (have been using the Thunderbolt display since it was released), I did not have this problem, and noticed it beginning only in the last month. (since January)
    2nd, My particular setup, includes a hard drive attached to the firewire port on the back of the Thunderbolt Display (so, I am wondering if anyone else experienced this problem with a firewire drive being connected).
         My full setup:
              Macbook Air (2011)
             Thunderbolt display
              Western Digital drive (attached to firewire of display)
    3rd, If I go into settings, what I will see is the "Display Audio" is selected (but no sound coming out),
    If I then select "Internal Speakers," a buffered "history" of all the sounds I did not hear is then played (pretty funny actually) - for  example, if I sent mail, adjusted the volume, and started playing a song.... it immediately plays all those sounds when selecting "Internal Speakers"
    4th, If i then select "Display Audio" - it does nothing
    5th, what I have to do, to resolve this is:  eject all my hard drives,  disconnect the thunderbolt cable, then reconnect the thunderbolt cable, and everything works as normal.

  • CS6/CC - switching between source monitor and timeline disaster

    Now what is this?
    It all works fine until you try DV Output.
    In DV Output mode every time you switch between source monitor and the timeline it goes to some scary ritual:
    1. output disabled on external monitor
    2. some crazy flickering happens
    3. ok, now updated picture on external monitor finally appears
    Same happens when switching back to timeline.
    Also when scrubbing through timeline video and audio is late for a few centuries on DV device/external monitor/speaker.
    Why Adobe screwed firewire environment editing? I'm thinking about changing my job. Editing with Premiere is killing me lately. I'm thinking about starting to work with bees or strawberries, or something else less frustrating.
    And Premiere CS 5.5 was the best editing software ever released. It has no similar problems. Why CS6 and CC are retarded?

    I'm just asking for properly working feature which is alredy implemented and worked fine in earlier versions.
    Adobe, can this be fixed, please?

  • Timeline window missing button to switch between frame mode and timeline mode

    I'm using Photoshop CS6 Extended.
    This is what my timeline looks like now.
    In tutorials they refer to a button that should be to the left of the drop menu that says "forever". The button is supposed to allow you to switch between frame mode and timeline mode.
    this is what the timeline window looks like in timeline mode and with the button that allows you to switch.
    I've already tried reinstalling and upgrading to CS6 extended, as some forums suggested.
    Please help. Animation is the core reason that I need photoshop and without this button I'm extremely limited. Thanks.

    OK. This should work. Copy and past the below script into Script Editor, save it as an AppleScript application to the Desktop. Double-click it and it should change to grayscale. Double-click it again and it'll toggle back.
    tell application "System Preferences" to activate
    delay 1
    tell application "System Events"
    tell process "System Preferences"
    click the menu item "Universal Access" of the menu "View" of menu bar 1
    click the radio button "Seeing" of the first tab group of window "Universal Access"
    click the checkbox "Use grayscale" of tab group 1 of window "Universal Access"
    end tell
    end tell
    tell application "System Preferences" to activate
    delay 1
    tell application "System Events"
    tell process "System Preferences"
    click the menu item "Universal Access" of the menu "View" of menu bar 1
    click the radio button "Seeing" of the first tab group of window "Universal Access"
    click the checkbox "Use grayscale" of tab group 1 of window "Universal Access"
    end tell
    end tell
    tell application "System Preferences" to quit

  • My 3GS keeps switching between iPhone speaker and Dock connector and I don't know how to keep it on iPhone speaker

    My 3GS keeps switching between iPhone speaker and Dock connector and I don't know how to keep it on iPhone speaker so I can listen to my music and games.  Is it hardware or software problem?

    I was told by a friend that sometimes when you use a 3rd party charger that the connectors are not the same size and so it can affect the sensors in the phone and make it seem like it is in a docking station and so changes the output for dock speakers.  With that said, I didn't take my pohone in to be serviced at the appple store because it was a 3GS and over 2 years old and so not covered by any service plan.  Since then my phone is back to normal and I can use my headphones and listen with the speakers on the phone.  I stoped using the suspected cheap 3rd party charger and maybe that's what did it, but not sure if it was or wasn't the cause of my problem.  I'm glad that my phone is better I was kinda holding out for the Iphone 5 when i comes out later and hope my phone lasted until then.

  • Should Iplace my ethernet switch between cable modem and airport extreme?

    I'm looking for the best placement of an ethernet switch in my home network.
    Should I place it "between" my cable modem and my AEBS or connect it to the output from my AEBS?
    The current placement is connected to one of the AEBS outputs.
    I'm attempting to set up an old AE (802.11 a/g from 2004) with a different network name than my home network, that I'm trying to set up for a college dorm network and each time I plug the AE to the switch to confirm its functionality, my network gets a little confused.
    Help appreciated.
    Regards,
    jim P.

    Should I place it "between" my cable modem and my AEBS or connect it to the output from my AEBS?
    This all depends on whether you have a simple modem.....or.....a modem/router or gateway combination device.
    If  you have a simple modem, you cannot place the switch between the modem and the AEBS. The reason for this is that the modem can only deliver one valid IP address and it will be a matter of chance as to which of the devices connected to the switch receives it. The other device connected to the switch will not be able to access the Internet.
    If you have a modem/router or gateway type of device, you can place the switch after the modem/router and before the AEBS if you wish, although there is really no advantage to doing so unless this makes things easier for you in terms of hook up.
    If none of this makes much sense at all to you, leave the switch in its current location connected to one of the LAN <-> ports on the AEBS since that setup will work correctly no matter what type of "modem" that you might have.

  • Cannot switch between long headers and default headers

    I am having a problem switching between long headers and default headers. No matter what I choose under view-->message--> long headers / default headers, they always remain long. Any solution? It's driving me crazy.
    David

    What are your Preferences > Viewing > Show header detail settings?
    Does the problem persist if you restart Mail?

  • What are the major differences between the air and the pro

    what are the major differences between the air and the pro?

    In a nutshell, the Air is a lightened, more compact system than the 13" Pro counterpart. The Air loses some hardware features to accommodate the physical downsizing.
    No FireWire port
    No built-in optical drive
    A lesser performing CPU to retain battery charge life, and adequate cooling.
    No Ethernet port
    No Kensington lock slot
    The Air does have a superior native resolution at 1440 x 900, and a standard SSD that does make up alot of the speed differential, and then some. Of course, the 13" Pro can be optionally configured with an SSD.
    You buy the Air if the physical size an weight savings are demonstrably more important than the features lost.

Maybe you are looking for

  • Module Pool Programming using Abap Objects

    Hi gurus., I need to create a module pool program with tabstrips and tablecontrols using Abap objects...plz guide me how i can achieve this... i am very much confused.. i dont know how and where to start .. plz send me documents and sample codes rela

  • Spanning one image across two monitors?

    If this has been asked before, I applogize. It is probably a simple solution, but, not sure if it is possible. I am using an Imac 17" Display, 160 Gig HDD, 1 Gig RAM and an external 19" monitor (as an extended desktop) I have downloaded some of the s

  • Syncing iBooks And newsstand between devices

    I have an iPad and iPhone and sync collections is on with both. However the books that I have on the iPad don't all show up on my iPhone. The same applies with newsstand. I bought a magazine with my iPad and it doesn't show up on the iPhone. I though

  • Application deployment is failed (9.0.4, Java Edition)

    When I try to deploy application I get the following error: ADMN-300075 Nested exception Base Exception: com.evermind.server.rmi.OrionRemoteException:Class not found: ru.cboss.core.exceptions.SystemException; nested exception is: java.lang.ClassNotFo

  • A question about Object Class

    I got a question about Object class in AS3 recently. I typed some testing codes as following: var cls:Class = Object; var cst:* = Object.prototype.constructor; trace( cls === cst); // true so cls & cst are the same thing ( the Object ). var obj:Objec