"Module Domains" confusion

Dear all,
I'm currently playing around with Flex modules api and got
very confused with the "Module Domains" section on the Adobe docs.
It's under:
Adobe Flex 3 Help -> Advanced Flex Programming ->
Creating Modular Applications -> Modular applications overview
-> Module domains.
In that section, it basically talks about how class
definitions can be "owned" by modules, how it affects the
mysteriously undocumented "SingletonManager" thingy, and how
singletons such as PopupManager might not work due to ownage. I've
read through this section at least 5 times and have done quite a
lot of testing but still couldn't figure out exactly what it means.
Well, here is my questions below and I hope someone can shed my
some insights or point me to a more detailed documentation
regarding this topic:
1. The doc says, "Because a module is loaded into a child
domain, it owns class definitions that are not in the main
application's domain."
What does it mean by class definitions being "owned"? As far
as i know, parent-child ApplicationDomain relationship is
constructed in such a way that class definitions on child domains
are overridden by the same (usually newer) class definitions on
parent domain, but I don't understand what it means by "owning" it.
This also leads to my 2nd question below.
2. The docs then went on saying "For example, the first
module to load the PopUpManager class becomes the owner of the
PopUpManager class for the entire application because it registers
the manager with the SingletonManager. If another module later
tries to use the PopUpManager, Adobe ® Flash® Player
throws an exception."
Well I've tried to replicate this scenario by creating 2
modules and have each of them calling PopUpManager.createPopUp() on
creationComplete event. I loaded up both modules from my shell
application and the popups from both modules worked, i.e., i see 2
popups on screen. But according to the docs, I should get an
exception when the 2nd module tries to run
PopUpManager.createPopUp(). So why is this not the case?
3. The docs also says, "This technique also applies to
components. The module that first uses the component owns that
component's class definition in its domain."
So, I assume what it means is that such restriction affects
not just singletons but normal objects as well. I tried another
test by having module1 instantiates an object of classA, pass it on
to module2, and then try to access it from module2. According to
docs, I should also get an exception from the player; however, this
is not the case. I was able to access the classA instance from
module2 with no errors. Consequently, I also tried to instantiate
classA from module1 and then instantiate another instance of classA
from module2, and that also worked.
As you can see, I'm really confused about almost everything
mentioned in this "module domains" section and how it affects us in
real life. Of course it's all nice and well that all my tests
worked and no exceptions are thrown, but I really wish to get to
the bottom of this and understand what "module domains" really
implies in all these scenarios.
Thanks,
Aaron

hotscripts.com would be a good starting place.
Otherwise you'll probably need to farm out the work to
someone who can
program in the language of choice for your web host.

Similar Messages

  • Security Domain Confusion

    Our flex app is primarily just a portal to our content which is mostly AS2 swfs created in Flash Pro.  We're having trouble loading those swfs when we debug locally.
    When debugged locally, we get spammed by console messages about Security Errors that look like this:
    *** Security Sandbox Violation ***
    SecurityDomain 'http://www.our-website.com/PAGE_000001.swf' tried to access incompatible context 'file:///path/to/app/app.swf'
    The swfs are loaded into our flex app by a mx:SWFLoader.  Investigating there, I figured the trustContent property was what we were after, but setting that to true causes Run Time Errors instead of just console spam.  I tried using Security.allowDomain in our flex app, and I continue to get the messages as long as the toplevel app is local and the content is not.  What am I doing wrong here?
    Edit: Neither swf is trying to interact with the other at all.  That's the part that's confusing me the most.

    If you're concerned with this issue just when you're debugging locally, then try setting your FlashPlayer settings.
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l
    As for those incoming SWFs being AVM1 (coded in AS2), using LoaderContext.allowCodeImport wouldn't help you.  Because you would use that with the Loader.load() or Loader.loadBytes() which will throw an exception if the incoming SWF is a AVM1.

  • Personal Domain confusion

    Ok, iWeb says you can use a Personal Domain name, and instructs you to first give them the name (ie: yourpersonaldomain.com), then to go to your registrar and "define web.me.com as the new CNAME (alias) for your domain". First off, shouldn't web.me.com include your personal user name in the information (ie: web.me.com/yourname) or something like that? 2nd, I am using GoDaddy and they don't have a "define your CNAME", but something which seems simpler: enable forwarding, where you can plug in your web address, and also a feature called Masking which hides the address. Very simple, except I can not get any of this to work. Any suggestions? Many thanks! Dave B

    Dave B:
    I have domain names thru GoDaddy and don't use the CNAME method. CNAME may have some benefits but since I have multiple sites that I have domain names for I opted to use the full URL for forwarding:
    http://web.me.com/accountname/site_foldername/index.html.
    Adding the index.html after the site folder name is optional. You could use the html file of the first page in the site if you'd like. The index.html in the site folder file just points to the first page of the site.
    Here's a screenshot of the forwarding and masking windows and how I used it.
    I had domain names before the CNAME was available in iWeb so never learned how to use it.
    OT

  • Which is the best SAP module?

    Hi,
    my name is vamsi and i have just completed my graduation and i am looking forward do SAP course but, as there are a lot of modules im confused what to select. Can you please suggest me which module is good and has a good demand in  the industry which can help me grow up in my career?
    Thank you.

    Hi Vamsi,
    As you are a fresher just out of colleage you can select any module in sap as you like but before doing that please consider the following point:
    First: Think in which subject you were most interested and always tried to learn more in your academics. Off course it has to do something with your stream of your education as well like for example: if your subject is Bachelor of Commerce then its natural that you would like to go for SAP Financials & Controlling. However if are a Bsc Graduate then think if you like coding, if the answer is yes, think about SAP ABAP option. If you are a Arts Graduate then think which functional skill you want to adopt, is it Sales, Logistics etc. If you have studied Industrial engineering like stuff you may want to go for Plant Maintenance related module etc. So Stream and subject plays a role for you to decide.
    Second: No matter which SAP module you select to pursue its always good to read and know some basics of that module what it does, which way it is applicable in the industry, how is the job position,
    etc. this will basically give you an idea about which module you want to learn.
    Let me know if you need more information or career guidance.
    You can join me in linkedin as well if you need.
    Thanks & Regards
    Subhasish

  • HELP ME IN step by step installation for sap 4.7 IDEAS AND sap 4.7 EE

    HI
    EXPERTS CAN ANYBODY GIVE STEP BY STEP INSTALLATION  PROCESS FOR BOTH
    SAP 4.7 IDEAS AND EE VERSIONS I AM NOT THAT MUCH PROFICIENT IN INSTALLING  I HOPE U R GUIDLINES CAN MAKE ME CLEAR IN INSTALLING I HAVE SOME QUESTIONS RATHER THAN THIS TO ANSWER
    1.IS THE ISTALLATION PROCESS OF ALL SAP VERSIONS ARE SAME?
    2.WHAT IS AN OBJECT IN SAP?
    3.WHAT IS THE DIFFERENCE BETWEEN COMPOSITE ROLE AND A DERIVED ROLE?
    YOU CAN SEND ANSWERS TO MY MAIL ID:<b>[email protected]</b>
                                                         THANK YOU TO ALL  IN ADVANCE

    Hey Rajesh,
    answers:
    1) Yes, the installations procedures is almost the same for all SAP versions, however its advisible to use follow the installation guides which comes with the DVD or is also available in SAP marketplace..
    2) Object is SAP is almost everything in Sap.
    object could be anything like
    TABLES
    PROGRAMS
    VIEW
    FUNTTION MODULES
    DOMAIN
    DATA ELEMENT
    STRUCTURE
    and so on
    3)Composite role is the combination of two or more roles(be it 2 or more  single roles or combination of two or more composite roles or permutation of single and composite role).. whereas derived roles can inherit all authorization objects from the parent role and can have its own authorization objects as well..
    Hope this clears your doubts.
    Revert for any clarifications..
    Please reward for usefull post.
    Regards,
    Anand.

  • ViewObjects with the same name

    Hi,
    I have one top application module with 2 sup modules.
    Per submodule it has a PolisView with detail VerzekerdenView. Both view objects are created in seperate subpackages.
    When I run the application I have a menu from with I start some custom java code to create one master (Polis) record en several detail (Verzekerden) records. The first time I open a page this works fine but then when I go to a page of the other sub application module I don't see the detail records although the logging says they have been created.
    Are there know issues about ViewObjects with the same name in different packages and in different sub application modules that confuses the application?
    Isn't it possible to use the same names?
    I found out that when we delete the config files out web.xml of the second sub application module the first works fine.
    Marianne

    Nice try, do you want to send the assistence to Curacao? :)
    We also noticed that renaming the view objects didn't solve the problem. We know assume that the beans.xml that JHeadstart generates are the problem. Within one application module these names are unique but over several application modules they are not (the application module are all children of a top application module.
    We have now given everything a unique name and this seems to work.
    Message was edited by:
    user644446

  • SAP ABAP or SAP Functional???

    Hi all,
    Im in SAP technical consultant since 16 months but i have observed that functional consultants have better prospects in career growth, im interested to switch to functional. Is this a right decision to switch to functional?
    If yes, which module should i be traind in and any registered institute in bangalore providing the same.
    And is it that only MBA candidates can go into functional?
    And what will be my job profile after 2 yrs?? will it be SAP technical or SAP functional or SAP technofunctional and for which profile shuld i apply for?
    Thanks in advance

    Hi,
    Both technical and functional has better career prospects. It depends on each person to which career path
    he likes to take. If you are good at technical you should continue in the same. It is always better to be in
    your strong area instead of moving to another area thinking of career prospects.
    And to move to become a functional consultant you should have domain experience. It is not like
    learning the technical things. You have to gain that through experience. With such a small experience of
    16 months, i would say you continue for some more time there and learn the functional side of the
    module that you are currently working on. If you move to the functionla side in same module, you
    will be more comfortable. But if you are moving to a totally different module, domain experience
    matters and the career prospects for you will be less with no domain experience.
    And there is nothing like an MBA can only do functional. It is the domain experience matters, not really the degree.
    And the profile after 2 years, you should decide which path to take. With the current profile , you will be a technical
    consultant.
    Regards,
    Leon

  • Splitting huge Schema/E-R Model into Modular Schema/Multiple E-R Models

    Hi,
    Currently we have huge DB Schema (1500+ Tables) using 1 single OWNER ID.
    Based on Domain Partitioning,we intend to create 6 new OWNER IDs (based on individual Module/Domain)
    and re-assign the appropriate Tables into the respective Domain.
    basically we expect 1500 Tables under one OWNER ID would now be split
    into 250 Tables per OWNER ID with a total of 6 new OWNER IDs being created.
    We also will need to create 6 new E-R Models ,1 per OWNER ID
    Trying to find out what could be the best possible way to do the "splitting" of a
    linear huge Data Model, into 6 modular E-R models. Going forward, we would like
    to maintain individual Models on per Domain basis rather than the existing monolithic Model.
    Any suggestions or tips on achieving this using SQL Developer Data Modeler would be greatly appreciated.
    What is the best and clean way of achieving this
    Thanks
    Auro

    Hi Auro,
    first you should be aware that you can have foreign keys created only between tables in one model.
    If this is not restriction for you then you can proceed:
    1) create one subview per future model and put in each subview tables that will constitute the model
    2) each model in separate design
    - use "Export>To Data modeler Design" - select subview that you want to export and only objects belonging to that subview will be exported
    Philip

  • Undeliverable mail question

    hi,
    What does this dsn mean? And could it be spam?
    the subject is "Undeliverable mail"
    Message body:
    Failed to deliver to '[email protected]'
    SMTP module(domain yyyyy.com) reports:
    yyyyy.com: no response
    Two attachments came along with the message. One of them is:
    Reporting-MTA: dns; mail.zzzzz.net
    Original-Recipient: rfc822;<[email protected]>
    Final-Recipient: rfc822;<[email protected]>
    Action: failed
    Status: 4.0.0
    I checked mail.log_current and grepped for zzzzz.net:
    mail.log_yesterday:07-Mar-2006 21:16:12.76 tcp_local ims-ms E 5 rfc822;[email protected] myuser@ims-ms-daemon zzzzz.net (mail.zzzzz.net [a.b.c.d])
    mail.log_yesterday:07-Mar-2006 21:19:56.49 tcp_local ims-ms E 3 rfc822;[email protected] myuser@ims-ms-daemon zzzzz.net (mail.zzzzz.net [a.b.c.d])
    mail.log_yesterday:07-Mar-2006 21:38:36.74 tcp_local ims-ms E 3 rfc822;[email protected] myuser@ims-ms-daemon zzzzz.net (mail.zzzzz.net [a.b.c.d])
    mail.log_yesterday:07-Mar-2006 21:55:07.28 tcp_local ims-ms E 3 rfc822;[email protected] myuser@ims-ms-daemon zzzzz.net (mail.zzzzz.net [a.b.c.d])
    mail.log_yesterday:07-Mar-2006 22:42:36.60 tcp_local ims-ms E 3 rfc822;[email protected] myuser@ims-ms-daemon zzzzz.net (mail.zzzzz.net [a.b.c.d])
    thx

    thx for the explanation .Now things are clearer. Few
    more questions if you don't mind Jay:
    what about the E entries in the log:
    mail.log_yesterday:07-Mar-2006 21:16:12.76 tcp_local
    ims-ms E 5 rfc822;[email protected]
    myuser@ims-ms-daemon swip.net (mailfe05.swip.net
    [83.180.141.95]) "E" means, "Enqueue". That's when your server puts the message in the queue. Has nothing to do with sending a message. In fact, this log entry shows the message
    Coming from the tcp_local channel (external to your systems),
    and addressed to your user on the local store.
    >
    Does it mean that the my mail server was trying to
    re-send the spam again?No
    Also, when you said 'original address is bad', the
    original address is [email protected]? and the
    remote server checked that email address and found
    out that it does not exist?No.
    the address to: was "[email protected]", or whatever was there, before you changed it.
    >
    Finally, what about the aol and yahoo emails that I
    found in the FROM and TO in the attached file?
    Received: from d83-180-141-95.cust.tele2.es
    ([83.180.141.95] verified)
    by mailfe05.swip.net (CommuniGate Pro SMTP 5.0.8)
    with SMTP id 39743822; Thu, 02 Mar 2006 22:57:17
    17 +0100
    Message-ID: <000b01c63e01$377fa740$5f8db453@ppdtdv>
    From:
    =?Windows-1251?Q?=D2=E8=EC=EE=F4=E5=E9_=D2=E0=F0=E0=F1
    =EE=E2=E8=F7_=CA=EE=ED=E4=E5=E5=E2?=
    <[email protected]>
    To:
    =?Windows-1251?Q?=C1=EE=E3=E4=E0=ED_=C5=E2=E3=E5=ED=FC
    =E5=E2=E8=F7_=CC=F3=F5=E0=EC=E5=E4=E8=ED=EE=E2?=
    <[email protected]>
    Those have nothing to do with the current mail itself. They're attached/forwarded/replied previously.

  • Undeliverable mail - error message

    When I try to send mail, I get an Undeliverable mail error message/response. I don't know if it makes a difference if I select the me.com or mac.com as my outgoing server. I also work at a university, but I don't think that should be a problem since this just surfaced today. I've posted some additional technical details below. Has anyone else experienced this problem recently?
    Error message details:
    SMTP module(domain mac.com) reports:
    host smtp-mx2.mac.com says:
    550 5.1.1 unknown or illegal alias
    Reporting-MTA: dns; regor.[myuniversity].edu

    First of all test the other mail host. Do nslookup on the mx record for the domain. Maybe also check it from somewhere else on the internet to make sure your dns server doesnt still have an old entry cached. Once you know dns is going to the right server, try to telnet to port 25 on that server to see if you can connect to the other mail server and get a header back. If you want you could go a step further and send a message via command line but not usually necessary.
    If that server seems fine, look at your own mail server. Check dns, delivery to other addresses etc..

  • How to use BC4J framework  outside JDeveloper?

    BC4J is certainly a very excellent framework for J2EE business component development, but is it only supported in JDeveloper? If it is possible that I write a BC4J application not using the wizard in JDevelper?

    If you prepared XML and optional Java classes that look the same as the ones the JDeveloper-hosted BC4J Design Time wizards produce, then they will work fine.
    It would require either:
    1. Studying the BC4J XML file DTD and perhaps studying an example of each kind of XML file (Entity Object, View Object, Association, View Link, Application Module, Domain), along with producing any optional Java classes using the same conventions (and extending directly or indirectly from the right framework base classes) as the wizards produce.
    or
    2. Writing Java code that uses the BC4J Design Time objects API in oracle.jbo.dt.objects.* package to programmatically produce the XML and Java artifacts for your components. Unfortunately, this API is not documented, but it is well tested.

  • Cannot rec'v mail from one particular sender

    This is what she gets when she tries to send or even "reply" to my successful emails to her
    From: <[email protected]>
    Date: February 7, 2013, 6:38:56 PM EST
    To: <[email protected]>
    Subject: Undeliverable mail: Re: Don't know what to tell you
    Failed to deliver to '[email protected]'
    SMTP module(domain @10.0.1.1|me.com) reports:
    host mx3.me.com.akadns.net says:
    550 5.7.0 Blocked - see https://support.proofpoint.com/dnsbl-lookup.cgi?ip=38.111.141.31: [email protected] 
    Received: from [10.0.7.1] (HELO MX01.MAIL.ECHOLABS.NET) by smtp01.cluster1.echolabs.net (CommuniGate Pro SMTP 5.4.1) with ESMTP id 152502140 for [email protected]; Thu, 07 Feb 2013 18:38:56 -0500 Received: from [192.168.1.116] ([207.255.52.160]) by MX01.MAIL.ECHOLABS.NET with Echo Labs id xbek1k00F3TPerz01beklU; Thu, 07 Feb 2013 18:38:55 -0500 X-Scanner-Info: Cloudmark - http://www.cloudmark.com X-CNFS-Analysis: v=2.0 cv=T51SuY2Q c=1 sm=1 a=xXau7weBETbzFHPid99mTA==:17 a=QfBQN8OGPNkA:10 a=cTrs9T18mygA:10 a=kj9zAlcOel0A:10 a=43beU8AwAAAA:8 a=ZqZLhZ92vBwA:10 a=HHGDD-5mAAAA:8 a=FPSCVllWZDjrNzsw-wEA:9 a=CjuIK1q_8ugA:10 a=i1zE5R4R5dEA:10 a=xXau7weBETbzFHPid99mTA==:117 X-CMAE-Score: 0.00 X-Scanned-by: CMAE X-AUTH-ID: karenazer References: <[email protected]> In-Reply-To: <[email protected]> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Message-Id: <[email protected]> Content-Transfer-Encoding: quoted-printable X-Mailer: iPad Mail (10A523) From: Karen Subject: Re: Don't know what to tell you Date: Thu, 7 Feb 2013 18:38:47 -0500 To: Donna Gambol

    This seems to be a problem that originates with ProofPoint.  They are filtering icloud for Apple and seems like their filters are recording lots of false positives.  All was well until suddenly several days ago they decided to add my mailserver to their blocked list.
    17.158.8.62 does not like recipient.
    Remote host said: 550 5.7.0 Blocked - see https://support.proofpoint.com/dnsbl-lookup.cgi?ip=---(mailserver's ip address): [email protected]
    Giving up on 17.158.8.62.
    I have submitted unblock request to proofpoint with no result and no response.  This is a problem as I need to be able to send email to people using @mac.com/@me.com addresses.  This is broken and may require someone from Apple to push proofpoint to correct their filters.

  • 9i (9.2.0.3) RAC Working On Redhat 8  w/ Firewire

    I wanted to mention that we've finally gotten the 9iRAC database working on two nodes connected to a single firewire drive using Redhat 8 and Oracle's firewire kernel binaries.
    Figuring out how to get "ocfs" working was a struggle. The firewire modules were confusing and touchy, but we finally got the firewire drive to accept multiple logins and eventually got OCFS to work (mostly). We took a gamble and decided that we could use the Oracle kernel binaries rather than upgrading to Redhat AS.
    To avoid a nasty error with "gsd", we needed to install the "9.2.0.3" patch. That resolved the "OCR" problem, but the "dbca" still had trouble.
    Eventually, we found that the default "init.ora" files were not working. We're not entirely certain why "spfile" wasn't working either, but the database does survive if you can start each instance with the parameter file created during the "dbca" database creation (using 'pfile="..."' argument with startup).
    There are still plenty of problems. The OCFS drive tends to eat files that are copied to it, but we can execute the copy a couple of times and it generally takes. The "agentctl" (Oracle's intelligent SNMP agent) isn't working on the second node, but we don't really need it and we've decided to work on it later.
    I want to thank all of you for trying so hard to communicate our problems and for your helpful hints.
    Please respond if you're interested in greater detail.

    Here are a few questions I'd like to share. Our test environment was RH9 and LVM, patched to 9.2.0.3.
    1) Can you control both instances from a single machine using srvctl? This is what I do to start the cluster:
    nodeX> gsdctl start (both nodes)
    node1> srvctl start instance -d orcl -i orcl1
    node1> srvctl start instance -d orcl -i orcl2
    The last statement fails:
    PRKR-1007 : getting of cluster database orcl configuration failed,
    PRKC-1020 : Exception while executing the operation on the remote node node1
    PRKO-2005 : Application error: Failure in getting Cluster Database Configuration for: orcl
    Seems like the first gsdctl to start takes exclusive ownership of the srvconfig partition, so other nodes cannot see the configuration. Have you seen this?
    2) If I do a shutdown abort to an instance, connections failover (and SELECTs continue, if configured) properly. However, if reset or simulate a power outage in the node, failovers take much longer to occur (in the order of minutes). Have you tried something like this?
    Thanks in advance,
    Ivan

  • Print Module confusion - settings, templates, and migration to new system.

    I'm a little confused by some aspects of the print module.  First, I tried copying some of my print templates from Lr1.3 over to the print template folder in 2.3, and they didn't' seem to work right.  The layout display in the upper left preview window did not match the layout of the main preview window, and many of the settings were not right, such as what printer was supposed to be used.  Is there a problem with using 1.3 templates in 2.3?
    Next, I can select a paper type in the printer driver AND in the Lr color management section.  Do these each do different things?
    Also, what does the Lr "Print Resolution" do -- i.e. how does it interact with the printer driver "quality" options, which sets the resolution?  Does one setting override the other?  If select the maximum quality (i.e. max resolution) in my printer driver settings, should I uncheck the Lr "Print Resolution" setting?
    Finally, when I migrate from one system to another, am I supposed to manually copy over all my templates?  I would have thought that these would be saved in the catalog, but apparently this is not the case.
    Thanks for clarification on these issues,
    Larry

    Does anybody have any feedback on this?  I could really use some help since even after numerous searches I still cannot find the answers to the question above.
    Thanks,
    Larry

  • Function Module to validate a value against domain fixed values

    Hi,
    Could anybody please let me know if there is a standard Function Module that takes a Value and Domain name as an input and checks if the input value exists in the Fixed Values of the domain.
    Thanks,
    Shalabh

    Hi,
    you can use fm FM_DOMAINVALUE_CHECK. Pass parameter values for I_DOMNAME and I_DOMVALUE.
    If the value is invalid, exception VALUE_NOT_ALLOWED will occur.
    Regards,
    Klaus

Maybe you are looking for

  • I am having a problem with iTunes deleting my playlists since iTunes Radio came online. Help!

    First of all, I'm a music teacher and loyal to iTunes.  Last week I came in and turned on my computer and opened up iTunes. I keep my entire library on an external drive due to the volume of songs I have.  When I opened iTunes, it popped up with the

  • You know that whole .desktop file security scare?

    It goes something like this: 1) Open a malicious email attachment or go to a website with malicious javascript or whatever... 2) A program is downloaded and executed with your permissions 3) It edits ~/.local/applications/synaptic.desktop or whatever

  • Error Calling Web Service - VersionMismatch Wrong SOAP Version

    Hello, I am attempting to create a web service from a function module, and to call this web service from outside of SAP. I used the Web Service Creation Wizard to create a web service from BAPI_CURRENCY_GETLIST, and tested it using the Web Service Ho

  • Zen Micro Photo shuts off by its

    My player shuts off randomly and when I turn it back on it has to rebuild the library. I I loaded the new firmware and did a system clean up and it still happens. Just wonderring if anyone else had has this problem with their player.

  • List All Tables in a Microsoft Access Database

    Hello, I am writing in a Java code. This code analyze a Microsft Access Database file and then print a report about it. The connectivity between Java and the Database is fine, but My problem is that I want to display ALL Table names of the Database: