How to build a stable, reliable application with consumer and producer

Hi all,
As a frontend solution, Flex is really powerful and fascinate. On the other hand, it inevitiably needs to exchange data. And I am trying to find a good way to build a stable and reliable application.
Here's the workaround. On server side, blazeDS or LCDS is involved and on frontend component Consumer and Producer are used to interact. A group of users cooperates on the whole processing. Everybody will send an update once he finished current job.
Of course each frontend need to subscribe first. But if one frontend is disconnect temporarily and other frontends send message to backend during that time, how can the disconnect one get message it missed? How can I fix the inconsistent status?
Thanks and regards,

Hello meshgraphics,
Your reply is useful, but feasible I have to say. Creating DB tables, updating entries and synchronizing contents involve a lot of work. As we can use blazeDS and LCDS, that'll be good option. From online help, it doesn't explain what will happen if consumer disconnects temporarily which is very important to me. If some messages are missed, the whole process can't move on smoothly.
Simply speaking, I hope below issues can be solved with blazeDS or LCDS:
1) how to ensure messages are delivered to subscribed consumers if they are temporarily disconnected?
2) how to recover work if consumers are thoroughly disconnect?
Thanks and regards,
Felix

Similar Messages

  • How to build database driven mobile apps with dreamweaver and phonegap?

    Hi all,
    I'm searching the easiest way to implement a simple database in my app.
    I can build application with php/mysql in seconds with dreamweaver.
    But how can I do something similar with dreamweaver cs5.5 and phonegap for mobile apps?
    I would like to create a little app that pulls data from a mysql database on my webserver.
    But it seems that dreamweaver/phonegap/jquery mobile work only with HTML files.
    I searched the whole web for a day now but I haven't found anything easy to recreate.
    Is there a tutorial that explains the basic of database for mobile in dreamweaver?
    It seems a bit limitating to use dreamweaver to build only static/useless apps....
    What about forms and data validation?
    TIA for any help.
    tony

    @idesdema: Have a look at this tutorial: http://www.codeforest.net/jquery-mobile-advanced-tutorial-rss-reader-app
    It includes a demo as well as a download link to the source files.
    Also, if you want to take it a step further, you can create & manage a 'local database' without having to access anything remotely - basically handling everything at the client's end.
    There's a tutorial for that here: http://the-jquerymobile-tutorial.org/jquery-mobile-tutorial-CH22.php
    Good luck.

  • Always used 1 main account.  Started using individual user accounts. So how do I use software or applications with a lot of data like Quicken under my own user account?

    I recently upgraded our family's mac to OS X.  I thought this was the perfect time to create and use "user accounts".  We had always used 1 main account.  So how do I use software or applications with a lot of data like Quicken under my own user account?  I wanted to be able to manage my own itunes library, iphone apps, messages.  But I still really need to use the Stuff I have in Quicken essentials.  I don't want to have to restart all my work done in Quicken already.

    I haven't used Quicken in a while, but most applications store your files in your Documents folder. Is that where your Quicken data file is? What you do next depends on how many family members need to get at that data.
    If multiple family members need to use the Quicken data file, try moving it to the Documents folder in the Shared account. That is an account that all accounts can see. It's at the same level as the other accounts. In other words, Shared is one level up from your Home account, or Hard Drive/Users/Shared.
    If you're the only one allowed to see that Quicken data, move the Quicken data file from the old main account to your account, and don't leave a copy behind. You can use the Shared folder as a way station for the transfer since you won't be able to see both accounts' Documents folders at the same time (because you're not allowed to peek into other people's accounts). Or you can use another disk or server for the transfer, as long as you can get to it when logged into either account.

  • Problems building a stand alone application with LV 8.6.1.

    I'm having problems building  a stand alone application with LV8.6.1. I'm using a USB- 6008 DAQ and USB-6501 Digital device in the application. I already have an simple executable on the machine so the Run time Engine is already installed.  For the USB DAQ device, I assume I need to include the DAQmx8.8 as one of the installers. When I attempt to build the application, I'm prompted for several disk, one being a distribuition disk 1. I have the installation disk for the developer package. I did not  see a distribuiton disk as one of the installation disks. When I insert disk 1 I get an error that another application is trying to run. Could someone tell me which installers I need to include and where do I find the "distributor" disk.
    Thank you,

    are you building installer for the first time on this PC?...It usually asks for the drivers CDs and some toolkits if required.
    you just need to use drivers CDs (comes with LabVIEW) from which you installed on this PC. If you have ever upgraded drivers, then you have to use the latest CDs only.......
    another issue may be ...when u insert the driver disk, it has autorun, it will launch drivers installation wizard....close that and then try to build distribution......... 
    Message Edited by Anil Reddy on 09-25-2009 01:22 PM
    Anil Punnam
    CLD
    LV 2012, TestStand 4.2..........

  • How can i share the pages application with another computer?

    How can U share the pages application with another computer?

    Just make sure it is for you or your family.
    If you purchased Pages through the Mac App Store, then just login on the other computer using the same Apple I.D. and you can install it at no extra charge.
    Peter

  • Anyone know how to gernerate CRUD applications with flex and coldfusion?

    Anyone know how to gernerate CRUD applications with flex and
    coldfusion? I am working with a remote coldsfusion installation
    with MS SQL and I don't have RDS.

    You might investigate "squidhead". It is CF based. I'm not
    sure if it has any Flex related features.
    http://squidhead.riaforge.org/

  • How to build FM radio receiver on PXI 5600 and PXI 5142 with help of labview

    How to build FM radio receiver on PXI 5600 and PXI 5142 with help of labview?
    PLZ TELL ME!
    Solved!
    Go to Solution.

    Dude,
    Your way of asking questions sucks!
    - Do not use such fonts!
    - Try to find things out yourself first (apparently GovBob was able to find info, so could you)
    - Have you asked GovBob if he likes it that you mail him for more questions?
    You ask for a complete solution on a project YOU have to do. (you dont learn of it if you dont try it yourself first)
    Hopefully you will ask questions in a less DEMANDING way next time.
    Good luck with your project

  • How to build an EVDRE input schedule with more than 3 dimensions?

    Hello experts,
    can anybody tell me, how to build an EVDRE input schedule with more than 3 dimensions?
    How must the parameter configuration (expansion 1, 2, 3, 4) and range configuration (ColKeyRange, RowKeyRange, PageKeyRange) look like? If anybody could post an example, how such an input schedule could look like, I would be very thankful.
    Best regards,
    Stefan

    Well, posting an example might be quite difficult.  But there is no right-or-wrong approach.  Since Inputs are made at the lowest or base level members of all dimensions, the key is to determine which dimensions you want in your expansion, to be able to gather the input.  Otherwise, you may only need a couple of nested dimensions.  But if you open BPC for Excel, open a blank workbook and in any cell type [ =EVDRE() ], then press refresh, the DRE wizard will allow you to select your nested row and columns for the report, and then build a basic report for your foundation. 
    I personally like to NOT expand my columns, and only nest 2 or 3 row member sets, depending on the details we need for input.  SOmetimes, the whole input schedule is without any expansions, and just refreshes based on the CV changes, such as entity, category, time etc.
    If you need more details, keep posting what you are trying to accomplish and we will try to help.

  • Demo applications with BC4J and JClient

    Are there any demo applications with BC4J and JClient, which go beyond the one frame samples, tutorials and how to's?
    This would deliver a better insight to develop a complete application.
    Bye
    Holger

    Thanks,
    the Virtual Shopping Mall sample is quite not I have searched for, because it is primarily an Web application and I am searching for an JClient application without Application Server, but it is a beginning.
    Bye
    Holger

  • How do I download a slide show with captions and music to my IPad?  It is not happening when I sync.

    How do I download a slide show with captions and music to my IPad?  It is not happening when I sync.

    The way that you would transfer photos from iPhoto to the iPad would be to sync with iTunes. Connect the iPad to your Mac with the cable and launch iTunes. Select your iPad under the devices heading on the left. Then click on the Photos tab in the iTunes window on the right. You can select the folder from which you want to sync your photos in the drop down menu bar - so select iPhoto there. Then select the album or events that you want to sync from the windows below. After you have made your selections, click on Apply in the lower right corner of iTunes.
    I am not sure how the iPad will handle a slide show in the photos app that was created on your Mac. You can create basic slide shows on the iPad using the different albums, events or faces that you have in the Photo app, but as for the captioning that you have already set up, I don't know how that will work in the app when you sync the slide show.

  • How to display error messages in BAPI_PO_CHANGE  with PO and item ?

    Hello Friends,
    I am calling BAPI_PO_CHANGE to update delivery flag for 50 POs.
    Each PO has 4 line items. For ex.
    10001     10     5.00     material1      X
    10001     20     45.00     material2      X
    10001     30     22.00     material15      X     u201Cerror
    10001     40     45.00     material41      X
    10002     10     46.00     material17      X
    10002     20     25.00     material3      X     u201Cerror
    10002     30     75.00     material5      X     u201Cerror
    10002     40     44.00     material8      X
    u2026u2026u2026u2026u2026..
    u2026u2026u2026u2026u2026
    Now, suppose some line items have error.
    I am able to get it from BAPIu2019s    RETURN table.
    But how can I display that error message with PO and line item?
    NOTE : I am calling BAPI_PO_CHANGE for each PO with ITEM internal table.
    Please guide me.
    Regards
    RH

    The it_change_return fields parameter and row identify the PO_ITEM.
    Try this...
    *&      Form  READ_MESSAGES_OP_CHANGE
          BAPI_PO_CHANGE Return messages
    FORM read_messages_op_change .
      DELETE it_change_return WHERE type = 'W'.
      DELETE it_change_return WHERE type = 'I'.
      LOOP AT it_change_return ASSIGNING <is_change_return>.
        IF <is_change_return>-type = 'E'.
          z_error_flg = 'X'.
        ENDIF.
        v_item = v_item + 1.
        it_log_mess-packagenr = v_packagenr.
        it_log_mess-object = v_object.
        it_log_mess-docnum = v_docnum.
        it_log_mess-itemnr = v_item.
        it_log_mess-type = <is_change_return>-type.
        it_log_mess-id = <is_change_return>-id.
        it_log_mess-mnumber = <is_change_return>-number.
        IF <is_change_return>-parameter <> 'POITEM'.
          it_log_mess-message = text-po1.
          REPLACE '&' WITH z_po_number INTO it_log_mess-message.
          CONCATENATE it_log_mess-message <is_change_return>-message
            INTO it_log_mess-message SEPARATED BY space.
        ELSE.
          READ TABLE it_change_poitem ASSIGNING <is_change_poitem>
            INDEX <is_change_return>-row.
          it_log_mess-message = text-pr2.
          REPLACE '&' WITH z_po_number INTO it_log_mess-message.
          REPLACE '@' WITH <is_change_poitem>-po_item
            INTO it_log_mess-message.
          CONCATENATE it_log_mess-message <is_change_return>-message
                INTO it_log_mess-message SEPARATED BY space.
        ENDIF.
        it_log_mess-message_v1 = <is_change_return>-message_v1.
        it_log_mess-message_v2 = <is_change_return>-message_v2.
        it_log_mess-message_v3 = <is_change_return>-message_v3.
        it_log_mess-message_v4 = <is_change_return>-message_v4.
        APPEND it_log_mess.
      ENDLOOP.
    ENDFORM.                    " READ_MESSAGES_OP_CHANGE

  • How to forward sms messages via email with date and contact received info

    Does anyone know how to forward sms messages via email with date and contact received info.
    Currently when I forward only the body copy of the sms message is sent in the email.

    This is not currently possible. Sorry.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How do you share thousands of pictures with text and captions outside of PSE?  (PSE 4)

    One of my dad’s retirement passions is family genealogy and old family pictures.  Several years ago I gave my family PSE 4.0 for Christmas so that we could each have backup copies of our dad’s pictures.  Usually once per year, I made backup copies of everything and emailed the DVDs to my brothers and sisters.  Everyone knows the basic PSE 4 functions and share our dad's enjoyment with the old family photos.
    My problem is that my dad is running out of pictures to scan.  He wants to “share” or “show” his photos with others so that he can “borrow” their photo albums in order to scan their photos.  He plans to attend a hometown high school reunion later this fall.  He hopes to "collect" photo albums from cousins and classmates.  I have been struggling with this for several days without any good ideas.
    The scanned pictures lack any text (added as a layer?) or captions.  Creating a slideshow (on my dad’s computer is slow).  Also, a slideshow doesn’t let others select individual pictures to save from the slide show
    He has old pictures pre-PSE 4 that allowed him to add captions directly to the picture when it was scanned.  I never liked this approach as it "destroyed" the actual picture but these old pictures are more easily shared as individual pictures.
    How do you share thousands of pictures with text and captions outside of PSE?  Can you save or export a composite picture with all the layers?
    Thanks in advance for your help and replies.

    I think it is one of the printer option screens that gives me the choice of tabbed 4x6. All of the choices specifiy HP or Other so I am pretty sure it is printer software that offers me this choice.
    Make sure your image has a 4x6 aspect ratio. I have been quite happy with the tabbed 4x6. Just need to remember to load the paper with the tab last.
    So, in elements you set to 4x6, in printer options you should be able to choose 4x6 tabbed paper.

  • Hello! i am from Romania and i want to buy an iphone from the USA site. can i buy it neverlocked? and if it is possible how much should it cost in totat(with transport and the iphone price)?

    hello! i am from Romania and i want to buy an iphone from the USA site. can i buy it neverlocked? and if it is possible how much should it cost in totat(with transport and the iphone price)?

    You can buy a factory unlocked on direct from Apple sim free, make sure you get the right one and not just a contract free one.  I am sure  one of our US members will be able to give you the price.

  • I want to know how to register a preowned CS5.5 with ADOBE and activate it?

    I want to know how to register a preowned CS5.5 with ADOBE and activate it?

    Transfer an Adobe product license
    Mylenium

Maybe you are looking for

  • Single Sign-On and Forcing logins

    Hi I'm new to single sign-on firstly. Is it possible for a company using SSO, to force a user to login again when trying to access a certain web application, in this instance a J2EE application within the company's domain (I know it defeats the purpo

  • How to simulate windows pc monitors using a mac cinema display?

    I occassionally have to produce jpegs to be posted on photographer's websites. These are high-end fashion images and the photographers are really picky about making them look good online with accurate hues, saturation, etc. On my old iMac I used to '

  • Pdf urls not loading in Android on 32 viewer

    Hi, PDFs in HTML Resources link and download fine into Reader on Droid from the new 32 viewer, but links to pdfs online only produce a blank screen. It does not prompt you to download/view it anywhere. The same pdf url works fine when viewed on the n

  • ITunes will not open because library was created by newer version???

    I am still using iTunes 9.2.1 and am not ready to go with v10. I tried to open iTunes and got the message: The file "iTunes Library" cannot be read because it was created by a newer version of iTunes. I did notice that the last time I opened it, it l

  • P67A-GD55 (B3) Wont Post

    Hi guys, This has been my first build with msi board and has turned out to b a pain in the u kno what lol. I wanted a Sandybridge upgrade so got all my new components delivered the other day. core i5 2500k, msi P67A-GD55 (B3) and 8gb (2x4gb) corsair