Flex Application architecture with web and air interface both using common components.

We have a flex based e-learning application. It uses HTTP REST service and webservice to communicate with ASP.Net application to fetch and store data.
We now want to develop an adobe air version of the user interface, which the students can download on their desktop as well as mobiles (Android, others).
What would be a good architecture for such an application which has both web and windows interface. I can see that we can reuse almost 80% of the code of our web version. But I do not want to copy and create a new windows app from the flex web app. I would want to have both co-exist.
Let me know a good article that I can read on this.

I dug deeper and found the concept of Shared Common Library. I am trying to implement that.

Similar Messages

  • How to make the mobile application work with firewall and anti-virus ON

    Hi,
    I keep on receiving internal processing error when i try to login sap mobile solution 1.3.0 on my ipad and i was provided a solution, that is to turn off my firewall and antivirus. I works by turn off both of it but i cant possible turn of the firewall and antivirus on the server.
    Can anyone guide me how to make the mobile application work with firewall and anti-virus ON
    Thank you

    Dear Rajesh,
    Create a policy in your fire wall to allow the port to send and receive data.
    I believe the port for the mobile should be port 8080 and 8443.
    And your license server port 30000 and 30001
    nd.Q

  • TS3376 I had my iphone set up to be tracked as registered with iCloud and it had been using it for a year one day it said no devices registered and stopped working why???

    I had my iphone set up to be tracked as registered with iCloud and it had been using it for a year today it said no devices registered and stopped working even though i tracked the selected iphone 4 device an hour earlier why did it do this???

    So basically the phone I was tracking was working an hour earlier it had no signal at times when it did pick up a signal it located it easily but an hour later the message came up no devices registered when my friend returned home I Checked the device I was tracking to make sure find my iphone was on but it was off and my friend didnt turn it off so my question is why did it turn itself off???
    Confused?

  • TS1538 hi i updated my iphone 4 with itunes and now i cannot use my phone as i keep getting error 16 after trying to restore my phone....i cannot afford to replace ..can any body help me...the phone is out of warrenty so apple do not want to know....pleas

    hi i updated my iphone 4 with itunes and now i cannot use my phone as i keep getting error 16 after trying to restore my phone....i cannot afford to replace ..can any body help me...the phone is out of warrenty so apple do not want to know....please any help

    https://discussions.apple.com/message/23100453#23100453
    more hits from the search
    https://www.google.dk/search?q=restore+itphone+error+16&oq=restore+itphone+error +16&aqs=chrome..69i57j0l5.11485j0j7&sourceid=chrome&espv=210&es_sm=93&ie=UTF-8

  • I have got an ipad mini with wifi and cellular, does it use a 3G or a 4G sim/network? I'm unsure

    I have got an ipad mini with wifi and cellular, does it use a 3G or a 4G sim/network? I'm unsure

    Depends on your cellular carrier.
    http://support.apple.com/kb/ht5205
     Cheers, Tom

  • HT3775 how to extend QuickTime to import or play other popular and specialized media formats using codec components

    how to extend QuickTime to import or play other popular and specialized media formats using codec components for my MacBook Air?

    plamenok1 wrote:
    how to extend QuickTime to import or play other popular and specialized media formats using codec components for my MacBook Air?
    You can install Perian, 
    http://www.perian.org/
    although this will be the last version, and Flip4Mac.
    http://download.cnet.com/Flip4Mac-WMV-Player/3000-13632_4-87679.html
    Otherwise you may have to look at a different and more extensive player such as VLC
    http://www.videolan.org/vlc/index.html
    or MPEGStremclip
    http://www.squared5.com/svideo/mpeg-streamclip-mac.html
    Good Luck
    Pete

  • HT1727 my itunes account was on my home computer that me and my brother both used. The computer died and we will need to buy a new one. We thought that if we just logged into our account from my laptop all the music would be there, it is not. Can anyone h

    My itunes aacount was on my home computer that me and my brother both used. The computer died and we will need to buy a new one. We thought that if we just logged into our account from my laptop all the music would be there, it's not. Can anyone help us?

    Go to the iTunes Store and select "Purchased" from the Quick Links side bar on the right. Go through all the tabs to download again for free

  • Adobe Flex's performances with Web

    Dear Flex Experts.
       Good morning! How are you? I am SAP consultant,, I have preety big application( not on SAP platform but with PHP ZEND platform ) to develop with table UI, Google Maps, and other mighty visualisation UIs. I love Flex to work with. My most work is from SAP side so dont know possible performance issues with PHP and Zend .  My friends are telling not to use Flex as it will create performance issues in Web page.  I dont want to go with any other technology like JQuery or something. Is it really that much performance problem can face anyone ? if any one help me to understand How can I improve the performance of FLEX RIA, it will be great help of mine. I will appreciate any answer.
    Thanking you
    Regards
    Naeem

    How could such high profile Flex applications as Morgan Stanley Matrix be built if Flex was such a slouch ?
    http://www.morganstanley.com/matrixinfo/
    The answer is that a lot of people's talk is due to ignorance:
    - In order to create a Flex application that performs well, know both the innards of the Flex framework and don't work against the underlying Flash Player. A lot of people try and rewrite things that exist in the Flex framework or work against the Flash Player.
    - A lot of people will talk about Silverlight/.NET because it has multithreading and Flex does not. But multithreading used unwisely can lead to performance problems. A lot of operations in Flex are asynchronous and use a callback mechanism.
    - You can use Time Slicing for data heavy processing but best practice is to reduce the amount of data loaded and processed at any one time (e.g using paging): http://cookbooks.adobe.com/post_Time_slicing-18691.html
    - Flash Player 11 will bring Stage 3D for GPU acceleration as well as possibly multithreading

  • VPN remote site tunnel-all with web and email filtering at core

    I'm helping a client setup a 'tunnel-all' VPN from remotes to the core.  That's not difficult - there's enough commentary in the community and I can set it up in the lab.  The rub comes with the location of the web filter box in particular - it's currently in-line with the inside interface of the ASA.
    What does the topology for a typical tunnel-all VPN with web filtering at the core look like?  Can't put my hands on any quickly.
    We only have one ISP conn at this time.  I have a layer-3 switch at the core too.
    Thx

    Hi,
    Thats a good question.
    I haven't thought about this part of VPN filtering much as I've usually had to open only a few ports. But if you really need to open all traffic from local to remote, you will also be doing the same for the other direction in the same ACL ACE rule.
    The only thing I can come up with right now is to stop using VPN Filter list and change the "sysopt" setting so that ASA wont let VPN traffic past the outside interface without checing the outside interface ACL
    The Configuration command (8.2) is the following:
    sysopt connection permit-vpn
    For traffic that enters the adaptive security appliance through a VPN tunnel and is then decrypted, use the sysopt connection permit-vpn command  in global configuration mode to allow the traffic to bypass interface  access lists. Group policy and per-user authorization access lists still  apply to the traffic. To disable this feature, use the no form of this command. sysopt connection permit-vpn no sysopt connection permit-vpn
    Though if you change this setting, you will have to take this into account with every VPN Client or L2L VPN you have configured so far.
    After this you can create rules on your outside interface access-list to limit remote user access to your local network. From local to remote networks you can use the access-lists assigned to each interface in question.
    Hope this helps
    - Jouni

  • Problem with FWSM and L3 interface in same switch

    I have two 6513s with an 802.1q trunk connecting them. Each switch has redundant Sup720s running in Native mode, IOS ver 12.2(18)SXF (they were initially running SXD3). A FWSM (ver 2.3(3), routed mode, single context) is in each switch, setup in failover mode.
    I can not get a PC, in a vlan that has the layer 3 interface defined on the switch with the active FWSM in it, to communicate with devices "behind" the FWSM. If I move the layer 3 configuration for that vlan to the other 6513, everything works fine.
    The MSFCs are on the inside of the firewall, they have a layer 3 interface configured in the same vlan as the FWSM "inside" interface. Several "same security level" interfaces are defined on the FWSM and used to protect server farms. I am using OSPF on the MSFCs and FWSM and the routing table is correct.
    The FWSM builds connections for attempts made by the PC with the layer 3 interface defined on the same switch as the active FWSM just fine, so this is not a FWSM ACL problem.
    A ping of the FWSM "inside" interface from a PC with the layer 3 interface defined on the same switch as the active FWSM fails, even though debug icmp trace on the FWSM shows the request and the response. A packet capture, using the NAM-2, shows only the request packets. I have captured on the common vlan and the FWSM backplane port channel interface.
    Just to add to the confusion, if I capture in the same places, but do the ping from a PC that is in a vlan with the layer 3 interface defined in the 6513 that does not contain the active FWSM, which works fine, I see the request and reply on the common vlan capture, but only the request on the port channel capture.
    This problem has been there from the beginning of this implementation and has not changed with IOS and FWSM software upgrades. I have experienced this with any and all vlans that I tried to define the layer 3 interface for on the switch with the active FWSM. I have MLS turned on.
    If anyone else has experienced this and solved it, or knows what is going on, I would appreciate any insight.
    Thanks.
    Keith

    I will have to get setup to record more data, but I do know the FWSM showed a ping request and a ping reply at the "inside" interface.
    I believe my problem is related to the IOS command "firewall multiple-vlan-interfaces" which I put in place to allow IPX traffic to be brought around the FWSM. The little documentation that there is for this command, states that policy routing may need to be implemented to prevent ip packets from going around the firewall. I do not have any policy routing in place.
    I also do not have any active layer three interfaces defined for any of the vlans assigned to the firewall except the "inside" interface. So my resoning was that I did not need to be concerned about ip packets having a way around the FWSM. My suspicion is that this command and the fact that I have mls on is causing some type of a problem which results in the packet being "lost" when it needs to be going through the MSFC in the switch with the active FWSM to get to the PC. Hopefully that makes some sense.
    Do you have any idea where better documention on using the "firewall multiple-vlan-interfaces" may be, or a better explanation of all that is happening inside the switch when that command is used?
    Thanks.

  • Poor performance with WebI and BW hierarchy drill-down...

    Hi
    We are currently implementing a large HR solution with BW as backend
    and WebI and Xcelcius as frontend. As part of this we are experiencing
    very poor performance when doing drill-down in WebI on a BW hierarchy.
    In general we are experiencing ok performance during selection of data
    and traditional WebI filtering - however when using the BW hierarchy
    for navigation within WebI, response times are significantly increasing.
    The general solution setup are as follows:
    1) Business Content version of the personnel administration
    infoprovider - 0PA_C01. The Infoprovider contains 30.000 records
    2) Multiprovider to act as semantic Data Mart layer in BW.
    3) Bex Query to act as Data Mart Query and metadata exchange for BOE.
    All key figure restrictions and calculations are done in this Data Mart
    Query.
    4) Traditionel BO OLAP universe 1:1 mapped to Bex Data Mart query. No
    calculations etc. are done in the universe.
    5) WebI report with limited objects included in the WebI query.
    As we are aware that performance is an very subjective issues we have
    created several case scenarios with different dataset sizes, various
    filter criteria's and modeling techniques in BW.
    Furthermore we have tried to apply various traditional BW performance
    tuning techniques including aggregates, physical partitioning and pre-
    calculation - all without any luck (pre-calculation doesn't seem to
    work at all as WebI apparently isn't using the BW OLAP cache).
    In general the best result we can get is with a completely stripped WebI report without any variables etc.
    and a total dataset of 1000 records transferred to WebI. Even in this scenario we can't get
    each navigational step (when using drill-down on Organizational Unit
    hierarchy - 0ORGUNIT) to perform faster than minimum 15-20 seconds per.
    navigational step.
    That is each navigational step takes 15-20 seconds
    with only 1000 records in the WebI cache when using drill-down on org.
    unit hierachy !!.
    Running the same Bex query from Bex Analyzer with a full dataset of
    30.000 records on lowest level of detail returns a threshold of 1-2
    seconds pr. navigational step thus eliminating that this should be a BW
    modeling issue.
    As our productive scenario obviously involves a far larger dataset as
    well as separate data from CATS and PT infoproviders we are very
    worried if we will ever be able to utilize hierarchy drill-down from
    WebI ?.
    The question is as such if there are any known performance issues
    related to the use of BW hierarchy drill-down from WebI and if so are
    there any ways to get around them ?.
    As an alternative we are currently considering changing our reporting
    strategy by creating several higher aggregated reports to avoid
    hierarchy navigation at all. However we still need to support specific
    division and their need to navigate the WebI dataset without
    limitations which makes this issue critical.
    Hope that you are able to help.
    Thanks in advance
    /Frank
    Edited by: Mads Frank on Feb 1, 2010 9:41 PM

    Hi Henry, thank you for your suggestions although i´m not agree with you that 20 seconds is pretty good for that navigation step. The same query executed with BEx Analyzer takes only 1-2 seconds to do the drill down.
    Actions
    suppress unassigned nodes in RSH1: Magic!! This was the main problem!!
    tick use structure elements in RSRT: Done it.
    enable query stripping in WebI: Done it.
    upgrade your BW to SP09: Has the SP09 some inprovements in relation to this point ?
    use more runtime query filters. : Not possible. Very simple query.
    Others:
    RSRT combination H-1-3-3-1 (Expand nodes/Permanent Cache BLOB)
    Uncheck prelimirary Hierarchy presentation in Query. only selected.
    Check "Use query drill" in webi properties.
    Sorry for this mixed message but when i was answering i tryied what you suggest in relation with supress unassigned nodes and it works perfectly. This is what is cusing the bottleneck!! incredible...
    Thanks a lot
    J.Casas

  • Stored Procedure Universe with Webi and Xcelcius

    Business Objects XI 3.0, Xcelcius 2008
    Created a stored procedure Universe on top of SQL Server 2005.  The stored procedure inserts a row into a table, and works fine when calling it from SQL Server server.  When I call it from Webi it wraps a transaction around the call and rolls it back after executing it.
    Are the new Stored Procedure Universes in 3.0 meant to be only "read only" and don't allow inserts/updates/deletes commands in the stored procedures they execute ? Seems a little short sighted if they are.
    Thanks,
    Keith
    Edited by: Keith Johnson on Aug 16, 2008 11:30 PM

    Keith,,
    absolutely with universe designer you can never use such like those procedures, you can not use insert or update statements on those procedure, it will give you errors.
    but in xcelsius, you can do it with another layer
    check this please
    xml data button
    http://resources.businessobjects.com/support/cx/samples/learning/downloads/ttv4-xml_data_button.pdf
    XCELSIUS DYNAMIC DATA SOURCE
    Dynamic datasources for Xcelsius
    good luck

  • Flex AdvancedDataGrid - ColumnOrder With Formatter and ItemRenderer Question For Experts

    I have a advanceddatagrid that has around 15 columns. Some are string,
    some are numbers. I have shown 4 columns below.
    The number columns have formatting done for zero precision and 2
    digits precision.  The itemRenderer is just to show Blue Color if the
    number is +ve and Red Color if the number is -ve.
    It looks something like below
    <mx:columns>
    <mx:AdvancedDataGridColumn dataField="Name" textAlign"left"/>
    <mx:AdvancedDataGridColumn dataField="Time" textAlign="right"/>
    <mx:AdvancedDataGridColumn dataField="Score" textAlign="right"  formatter="{zeroPrecisionFormatter}" sortable="true"   itemRenderer="ColorRenderer" />
    <mx:AdvancedDataGridColumn dataField="Average" textAlign="right" headerWordWrap="true" formatter="{twoPrecisionFormatter}" itemRenderer="ColorRenderer" />
    I am trying to save the users setting of column order  when he closes
    the application and reload with the same order when the user opens the
    applications. I am using SharedObjects and below is the code.
    for(var i:int=0; i< adgrid.columns.length;i++){
         var columnObject:Object = new Object();
         columnObject.columnDataField = adgrid.columns[i].dataField as String;
         columnObject.columnHeader =adgrid.columns[i].headerText as String;
         columnObject.width = adgrid.columns[i].width;
         columnArray.push(columnObject);
    and then I save the columnArray to SharedObject.
    I retrive them using the below code
    for(var i:int=0;i<columnArray.length;i++){ 
        adgrid.columns[i].dataField =columnArray[i].columnDataField;
        adgrid.columns[i].headerText =columnArray[i].columnHeader;
        adgrid.columns[i].width = columnArray[i].width;
    How can I save and reload the Formatter and ItemRenderer data .
    I am having trouble saving the formatter and itemrenderer and
    reloading it again.
    I would really appreciate if you can shown the code.
    How can I reshuffle the columns but can preserve all the properties of it to though  sharedobject and recover it again

    I would bypass the DataGrid all together.  Using the DataGrid , you have to mess with itemrenderers and indexes ... not
    very fun when one can avoid it.  Instead , I would do my calculations off of the dataprovider.  Then it becomes an elementary exercise of a for-loop and [Bindable] values.

  • Flex application problem with Sql editor

    Hi,
    I get the error message:
    Error in compiling Flex application (1). When deploying a SQL query iView
    I browsed trough som threads, and see that others have  had the same problem. I looked in the log file but, the same message is displayed there.
    My problem is that I only get this message when I use the SQL editor. I can deploy other iViews perfectly fine.
    The sql statment works fine.
    Can anyone help?
    Ingvild
    Message was edited by: Ingvild Nygaard

    Hi,
    Thanks for helping
    In your document you drag one table( order details) into your iView. When you do this you are only getting data from one table right? If do as you do, drag one table into the iView my SQL will be like this;
    Select ""."MATRICS"."PERIOD"."PERIOD_ID" , ""."MATRICS"."PERIOD"."LAST_MODIFIED_TIME" , ""."MATRICS"."PERIOD"."LAST_MODIFIED_BY_ID" , ""."MATRICS"."PERIOD"."FOLDER_ID" , ""."MATRICS"."PERIOD"."PERIOD_NAME" , ""."MATRICS"."PERIOD"."START_DATE" , ""."MATRICS"."PERIOD"."END_DATE" , ""."MATRICS"."PERIOD"."END_DATE" from ""."MATRICS"."PERIOD"
    If I remove the ." and the " I will get my table printed out, and I can deploy the iView.
    My problem was how to join all my tables in the sql editor, I do not understand how this can only be a copy paste operation. So I can not paste in her my SQL from my VC because I do not know how it is suppose to look in VC. In SQLPlus code is:
    SQL> SELECT indices.index_name, period.period_name, MAX(price.bid)
      2  FROM folder, indices, price, series, period,source
      3  WHERE folder.folder_id = indices.folder_id
      4  AND indices.index_id = series.index_id
      5  AND series.series_id = price.series_id
      6  AND period.period_id = series.period_id
      7  AND series.source_id = source.source_id
      8  AND folder.folder_id = '15351'
      9  AND source.source_id = '573'
    10  AND price.trade_date = SYSDATE -1
    11  GROUP BY index_name, period_name;
    I have solved my problem by crating a view in the database. This mayby the soulution ? Or is it possbile to solve it within VC?

  • Using logic with 003+ and secondary interface

    Hello, I currently have a 003 rack + (8 inputs) and a m audio pro fire (8 inputs), and I am trying to get them to work inside logic. I currently have them linked together via optical cable. I know I cannot aggregate using a 003 rack which would fix my issue, but I can only get 8 of the 16 inputs to work.
    As of writing this I have not tried the output, I have not gotten that far. Is there a way to make logic understand that there is 16 inputs instead of 8? I have the core audio manager telling me that the 003 rack has 18 ( 16 in 2 out) available and that it's in the ADAT format, but anytime I try to use any input greater than 8 I get no sound.
    Does anyone know how to get this to work so I can enable a total of 16 tracks to record?
    I'd very much like to switch from pro tools to logic for my projects to be more versatile.
    Thanks so much in advance for any answers.

    I know exactly what you mean. Unfortunately, I can't offer a solution, just want to express that I have the same requests. A simple, convenient way would be if the quick search bar would follow the same logic as in Google:
         Multiple separate keywords -> AND by default
         Multiple keywords with OR in between -> OR logic
         Multiple words in " " -> The keyword must contain of exactly those words in the same order  (which is the default and only option now; unfortunately, it's the one that is required the least)
    Yes, there is an advanced search option that does the trick, but as you said, it's very cumbersome to create queries there.
    Something in the same direction: Bridge is powered by a MySQL database. So, why is there no way to do a search using an SQL-Query? For those people that work with SQL (and those are quite many, I suppose), this would be a dream!
    I know, there is a suggestion forum as well, but posts there are never replied to.
    So please, if any developper sees this, consider it for a future release.
    One more thing: In the keywords panel, you can use a hierarchy, which is great to make your huge list of keywords more organized. However, in the filter panel, they are all flat and not organized by topic. Would it not be possible to apply the same hierarchy there? After all, the hierarchy IS saved in the metadata: in the XMP part of metadate, there is a field called "HierarchicalSubject" that contains this data. So why not use it??
    Best regards
    - spitfire
    P.S. What is the best place to make suggestions to the developpers? Since the topics in the suggestion forum never get any replies, I don't think it's the right place ...

Maybe you are looking for

  • Error while importing external Crystal report in SAP Business One

    Hi Experts, while importing External crystal report in SAP Business one i was unable to import the report and it is not displaying any error message or success Message but after completion if i click on the report i am getting an Error as No Matching

  • F1 Help Perfomance Assistant not working - ITS SAP GUI HTML

    Hi All, when using a Transaction in SAP Portal i like to use the F1 Help. Transaction is displayed by ITS SAP GUI HTML. I have the option to display the Help in: - Modal Window <-- this works - Performance Assistant <-- not working When pressing F1 a

  • MDVP only working as a background job

    Hello, I was working on the ATP check when i discovered the only way to actually perform this check correctly was to execute it as a background job. When executing online, the stock is just not committed (even with full confirmation logic set on in t

  • Windows to iMac

    Happy New Year! I'm an art director. Currently I work on a PC (Windows XP) but I'm seriously considering returning to the legion of Mac users. But this is my question. I have read that I can run some (most?) Windows programs on the Intel-based iMacs,

  • DIAPI Version 2005A: An error occurred while trying to load user fields

    I try to initialize a BusinessPartners Object in C#. A ComException will be thrown. The message is: "An error occurred while trying to load user fields" ErrorCode is -1122. My Code: SAPbobsCOM.BusinessPartners businessPartner = null; businessPartner