Multiple Applications in a single Project

I currently have a Flex project that has multiple Applications created within it.
The first application opens the second application via code as follows:
var str:String="event_home.html";
var link:URLRequest = new URLRequest(str);
var v_selectedEventIDCode:String;
this globalEventId = dg_event_listing.selectedItem.ID;
navigateToURL( link, "_blank" );
My 1st question is, can the 2nd application that I open grab values of variables declared
within the application that opened it?
2nd question is, if I have a project with only 1 application defined within it, how can I
open a 2nd Internet Explorer window with some other Flex page in my project without creating a 2nd
application in this project?  for example I may have a single Application in this project, and then another
file in this project that is a Canvas component, the app starts up with the Application page, how do I open
a 2nd Internet Explorer page with that Canvas component within it?
Thanks in advance,
Wes

> Is it possible to package multiple applications into a single .air file?
No, Flash Builder (and AIR) does not support that.
-Anirudh

Similar Messages

  • Multiple applications on a single JVM

    I was looking at some of the disadvantages of running multiple apps on a single JVM and then I came across this sentence which I donot totally comprehend. I guess somebody here would be able to shed some light
    JVMs tend not to scale well past four processor configurations, which limits the viability of the single-JVM model on larger machines

    It means a single JVM won't take as much advantageof
    an 8 CPU system as multiple JVMs will.Yes I understand the lingual meaning of the sentence,
    what I am struggling with is its semantic meaning.
    Why can't a single JVM take advantage of 8 processor
    r CPU? Are there any limitations associated with a
    single JVM and in case there are what could they be?If I remember correctly the inherent concurrency limitations of JVM prevent it from fully utilizing the processing power of the machine. There is a limitation to the heap size one JVM can have, no. of thread pools that could be supported so multiple JVMs provide additional heap size, multiple thread pools, each corresponding to the application associated with the JVM, thus enabling to use the extra processing power.

  • Deploying multiple applications to a single collection quickly

    Hi,
    I've been looking for a way to quickly deploy multiple applications to a collection in the SCCM 2012 console. Is there any way to select a group of applications and deploy them all to be available to a collection? I can do them one by one, but I have a ton
    of applications to test and this is going to be very time consuming. If there is a powershell method, I would be open to that as well. Unfortunately, I couldn't find any topics on this on the forums or on the internet.
    Thanks!

    You also might consider to create an super application, and the set all other applications as dependencies to it (but NOT in the same group, only as separate groups). The super application will only modify a registry key or a file as a flag for detection.
    In that case you need to deploy only the super application. But I afraid it's against the best practices. I'm going that for a multi-component application to install all support components.

  • Need same logical path for multiple objects in a Single project

    Dear All,
    I have a requirement where I wish to ensure that whenever an object is created in the LSMW transaction (In a Single Project), that object has to be created always under the same logical path name.
    This logical path I want to define under the transaction FILE.
    Is it possible to get this done?
    Please help,
    Regards,

    Nimish,
    Please tell me how to ensue that for every object created we get the same logical path without entering any value.
    The path i mean is the one defined in the transaction FILE
    Thanks for your input.
    Regards,

  • Re: Multiple Data sources in single project

    Hi Experts,
    I am working in JDEV 11.1.1.3.0.
    In my model project i have configured 2AM with 2 different data base connections, both are working fine. Now in the 2nd AM i am trying to execute VO and getting the value, but the query is not executing, if i execute the Same VO from data base then it's working fine.
    Code:
    AllTabColumnsROVORowImpl allTableColumnRow = null;
    AllTabColumnsROVOImpl allTabColumnVO = getAllTabColumnsROVO();
    Iterator tableItr = tableNameLst.iterator();
    while (tableItr.hasNext())
    String tableName = tableItr.next().toString();
    allTabColumnVO.setBindTableName(tableName.trim());
    allTabColumnVO.executeQuery();
    System.out.println("query: " + allTabColumnVO.getQuery());
    while (allTabColumnVO.hasNext())
    allTableColumnRow =
    (AllTabColumnsROVORowImpl) allTabColumnVO.next();
    System.out.println("Column name: " +
    allTableColumnRow.getColumnName());
    columnMap.put(tableName + "_" + allTableColumnRow.getColumnName(),
    allTableColumnRow.getDataType());
    Bind variable i am getting from list, that's coming fine, but the while statement is not executing, method is ending after printing query.
    Can any one help me what is wrong here.

    You have to put the options -Djbo.jdbc.debug=true -Djbo.debugoutput=console in the 'javaOptions' field of your run configuration (in the view controller project).
    Then you'll get the info.
    Steve Muench filed a new blog entry https://smuenchadf.samplecode.oracle.com/samples/hroug2010_debugging_adf_applications_muench_final.pdf about debugging 'no data' issue.
    Timo

  • Adobe captivate multiple quizzez within a single project

    Hello I am trying to create a test that includes 6 different exams, but i want the usert to have to pass each exam with at least a 75% before they can access the next quiz. I am very new to captivate. Any help would be very appreciated.
    Thank you

    You will need 6 different Captivate projects, each of which will have one quiz (exam).  You can set the passing percentage for each project file to 75% under Quiz Settings > Pass Fail.  To force the user to pass each module of your course before they can do the next one, you really need to be serving up your course content via a Learning Management System.  The LMS usually handles that side of it.  If packaging your course modules as a multi-SCO SCORM course for your LMS, you'll ideally be using Adobe's Elearning Suite 6, which comes with the Multi-SCORM Packaging tool.  The version that comes with ELS 6 can accommodate more of the SCORM rules than previously possible in earlier versions.

  • Multiple Agreement for Single Project

    Hi All,
    In our Implementation client generally gets multiple agreements for a single project. How to specify the Agreement Reference when we are creating an Event for billing? By the way have set up the funding option at the Project Level.
    Thanks in Advance
    Saptarshi

    Hi
    The problem you are raising has no solution by standard functionality.
    Oracle promised to solve that for the first time in release 12.1 that should be available during 2009.
    There could be customized solution which involve several parts:
    Add a DFF on the event, so user can enter the agreement number.
    Guide the user to run the GDI process for range of projects with the parameters - project number and agreement number
    Develop a billing extension called on pre-processing of the GDI and another one called on the post processing step of the GDI.
    The pre-process billing extension will put all project events that are not of the requested agreement on Hold, and any different agreement should also be "put aside in a non billable situation". The post process billing extension will release the hold from the events, and return the agreements to "normal".
    I can admit such customization is ugly and risky. However, we have done it and it is working for us on production for several years. I have presented a paper regarding that on Collaborate 2007. You may look for the paper called: "Is it possible to invoice by contract using Projects Billing", on the OAUG web site.
    Dina

  • Multiple Billings for Single Project

    Hi Gurus,
    Is there any possibility to do multiple billings for one contract / one project from Project Level.
    How can we perform for Milestone / RRB?  I appreciate with possible steps / process.
    Regards
    Naveen

    Hi Naveen,
    If i understood your query correctly, yes it is possible to do multiple billings for a single project, rather a single sales order.
    As far as Milestone/RRB process is concerned, i would suggest you to go through SAP Help or search the forum. The query is very basic in nature and i am sure you will find the required answers in SAP Help.
    You can revert with more specific queries once you are done with SAP Help.
    Regards,
    Gokul

  • Multiple selects() within a single VM

    Is anyone aware of any contention issues when running multiple threads within a VM where each thread has it's own select statement?
    I have an home grown app server that allows me to run multiple applications within a single VM. The applications are unrelated however they sometimes communicate with each other via TCP. All of them are very network intensive ( 500 messages a second where each message is around 200 bytes ). These apps are usually single threaded where the main thread is a select() loop.
    Therefore, each application is a single threaded select() loop but there are multiple applications running within a single VM.
    I am seeing performance issues when two apps running within the same VM try to send messages to one another via TCP. When the two apps are running on different boxes one app can send about 10,000 messages a second to the other app. However, when the apps are running within the same VM ( localhost TCP connection ) I can only transfer about 1000 messages a second.
    Are 2 selectors running within the same VM a problem? Is it synchronized within the VM so that only one select can fire at a time?
    I am running on a dual proc RH3 box with plenty of memory.
    Any ideas?

    Works for me, though I'm trying on Windows. Test program below. I get >10,000 replies and responses per second over loopback with both "java SelectPingPong both" (one VM) and running client and server on separate VMs.
    Does this program get only 1000 messages/s on Linux? What VM version?
    import java.util.*;
    import java.net.*;
    import java.io.*;
    import java.nio.*;
    import java.nio.channels.*;
    public class SelectPingPong
        private static final int MESSAGE_SIZE = 200;
        private String server_name;
        private Selector selector;
        private HashMap clients = new HashMap();
        static class Client
         ByteBuffer buf = ByteBuffer.allocate(MESSAGE_SIZE);
         long connect_time = System.currentTimeMillis();
         int number_of_messages;
        public SelectPingPong(int port, String server_name)
         throws IOException
         this.server_name = server_name;
         selector = Selector.open();
         ServerSocketChannel server_channel = ServerSocketChannel.open();
         server_channel.configureBlocking(false);
         server_channel.socket().bind(new InetSocketAddress(port));
         server_channel.register(selector, SelectionKey.OP_ACCEPT);
        public Socket connect(String host, int port)
         throws IOException
         SocketChannel channel = SocketChannel.open();
         Socket socket = channel.socket();
         socket.connect(new InetSocketAddress(host, port));
         configureSocket(socket);
         channel.configureBlocking(false);
         channel.register(selector, SelectionKey.OP_READ);
         clients.put(channel, new Client());
         return socket;
        private void configureSocket(Socket socket)
         throws IOException
         // Let's say we have a request-reply protocol with modest requirements
         socket.setReceiveBufferSize(1024);
         socket.setSendBufferSize(1024);
        public void mainLoop()
         while (true) {
             try {
              selector.select();
              for (Iterator iter = selector.selectedKeys().iterator(); iter.hasNext(); ) {
                  SelectionKey key = (SelectionKey) iter.next();
                  iter.remove();
                  if (!key.isValid())
                   continue;
                  if (key.isAcceptable())
                   acceptClient(key);
                  if (key.isReadable())
                   readFromClient(key);
             } catch (Exception e) {
              System.out.println(server_name + ": error in selector loop: " + e);
              e.printStackTrace();
        private void acceptClient(SelectionKey key)
         throws IOException
         ServerSocketChannel server_channel = (ServerSocketChannel) key.channel();
         if (server_channel == null)
             return;
         SocketChannel channel = server_channel.accept();
         if (channel == null)
             return;
         configureSocket(channel.socket());
         channel.configureBlocking(false);
         channel.register(selector, SelectionKey.OP_READ);
         clients.put(channel, new Client());
         System.out.println(server_name + ": got a new client; " +
                      clients.size() + " clients");
        private void readFromClient(SelectionKey key)
         throws IOException
         SocketChannel channel = (SocketChannel) key.channel();
         Client client = (Client) clients.get(channel);
         ByteBuffer buf = client.buf;
         int count;
         try {
             count = channel.read(buf);
         } catch (IOException e) {
             System.out.println(server_name + ": error reading, closing connection: " + e);
             clients.remove(channel);
             channel.close();
             return;
         if (count == -1) {
             clients.remove(channel);
             System.out.println(server_name + ": client disconnected; " +
                          clients.size() + " clients");
             channel.close();
             return;
         if (buf.position() == MESSAGE_SIZE) {
             if (++client.number_of_messages % 10000 == 0) {
              long now = System.currentTimeMillis();
              System.out.println(server_name + ": " + client.number_of_messages +
                           " messages in " + (now - client.connect_time) + " ms");
             buf.flip();
             // RFE write without blocking
             writeFully(channel, buf);
             buf.rewind();
        public static void writeFully(SocketChannel channel, ByteBuffer buf)
         throws IOException
         while (buf.remaining() != 0)
             channel.write(buf);
        private static void startClient()
         throws Exception
         SelectPingPong client = new SelectPingPong(6667, "client");
         Socket socket = client.connect("localhost", 6666);
         // Send initial message
         ByteBuffer buf = ByteBuffer.allocate(MESSAGE_SIZE);
         buf.put(new byte[MESSAGE_SIZE]);
         buf.flip();
         socket.getChannel().write(buf);
         client.mainLoop();
        public static void main(String args[])
         throws Exception
         if (args.length == 1 && args[0].equals("server")) {
             SelectPingPong server = new SelectPingPong(6666, "server");
             server.mainLoop();
         } else if (args.length == 1 && args[0].equals("client")) {
             startClient();
         } else if (args.length == 1 && args[0].equals("both")) {
             new Thread() { public void run() {
              try {
                  SelectPingPong server = new SelectPingPong(6666, "server");
                  server.mainLoop();
              } catch (Exception e) {
                  System.err.println("error in server");
             } }.start();
             startClient();
         } else {
             System.err.println("usage: SelectPingPong [client | server | both]");
    }

  • Can you run multiple Excel Services Applications against a single Web Application?

    I have been struggling with this one for a while now, hopefully someone can help me understand what I am missing...
    I have a single SharePoint Farm.  This farm runs multiple Web Applications & the Service Applications.
    1. SharePoint Only Server with Multiple Site Collections (http://sharepoint.com/...)
    2. MS Project Server with Multiple Site Collections (http://pwa.com/...)
    3. My services applications all exist on the same farm.
    I was under the impression, and believe that I validated this through testing and from this site (http://blogs.office.com/2009/11/16/excel-services-in-sharepoint-2010-administration-improvements),
    that you can only run a single Excel Services Application against each unique Web Application.  In essence, I can run one Excel Services Application against the SharePoint Only Server, and another Excel Services Application against the MS Project
    Server...  However, I can NOT run multiple Excel Services Applications against the different Site Collections within the MS Project Server becuase it is only aware of its "default" Excel Service Application. 
    ie. I can NOT do the following:  ExcelServiceApp1 for
    http://pwa.com/SiteA & ExcelServiceApp2 for
    http://pwa.com/SiteB
    Is that correct?
    If that is not correct, then I must be missing a way to specify a different Excel Service App for each Project Web App Site. 
    Some other solutions that I think may work, but would really appreciate if someone could validate:
    - Create multiple Project Server Service Applications for each instance of PWA/Excel Service? (but wouldn't this still have to use one of the two WebApplications and cause the same limitation?)
    - Create a new Web Applciation for each PWA/Excel Service?  (ie.
    http://pwasite1.com;
    http://pwasite2.com; http://pwasite3.com, etc.)
    Thoughts/suggestions are very greatly appreciated!!!

    Hello Trpy2k
    I have not done what you are doing and I assume that you are using project server 2010.  However, you answer lives in PowerShell.
    The New-WebServiceProxy show that you can create a new proxy by spacing a URL and not a web application. The default proxy from the web application is directing to the default excel service.  If you need another excel service, you must specify another
    proxy and this may do it for you.
    Also, don't forget the Secure State service and that each excel report will need this configured, that is with the assumption that the other excel service requires different authentication.
    PS.  This question may get a better answer in the SharePoint forums.
    Cheers!
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • Pros & Cons of having multiple web applications under one EAR project

    Could anybody let me know what are the advantages and disadvantages of having multiple web applications under one single EAR project?

    Either this is homework, in which case, do it yourself, or you already think you have some pros for doing this. Share with us

  • How to configure single web server instance to multiple application servers..

    Hi all,
    we are running single instance of IWS6.0 SP2 on solaris, we want to comfigure this single instance to multiple application servers(JRun). Can any one advise me whether it is possible to do.
    Thanks
    Raj

    Hi Raj,
    "how to configure single web server instance to multiple application servers.."
    It's not possible for setting up multiple applicataion servers for Single iWS instance.
    Thanks,
    Dakshin.

  • One Search service application for multiple web applications in a single server

      We are planning to host 17 Web applications in a single Server. Do I need to create search service application for each web application or I need to create one  Search service application , create a Content source for each web
    application and create a Result source for filtering. Which is the best approach. And which approach takes more RAM memory.
       In my application I am using Search web part, "Recently Changed Items", "Popular Items" web parts. when I created only one one  Search Service application for all web applications and using Result sources ,
    I am not getting the results. What could be the problem.

    Hi,
    One SSA is ok, but you should think about access rights. If the access is clear cut between all the web apps you should be ok with one SSA. Multiple result sources limiting on content source also works, but could easily be bypassed.
    Multiple SSA's will eat up RAM/CPU like a mother :)
    As for popular etc.. it could be due to how those sources are set up, but haven't investigated or tested this much.
    Thanks,
    Mikael
    Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of Working with FAST Search Server 2010 for SharePoint

  • Best Practices for multiple authors using single project?

    We are having many issues, particularly with moving, renaming, and multiple check out warnings.  We have a single project with many authors and it seems like RH is not designed to work that way. There is an article in the RH devnet-archive in an article entitled "Sharing RoboHelp Project Among Multiple Authors" that says"
    "At first there may be the temptation to let every author work on every file in a project.  This is certainly not a best practice. Regardless of source contraol, it is always best to designate certain authors as owning certain content-related sections, folders, or topics within a project -particulary at the folder level."
    This statement, and our experience seems to indicate that RH is not a true CMS as we had envisioned.  What are the best practices for this scenario to avoid stepping on each others toes and having problems with source control.

    I have moved this to the source control forum for the gurus there to answer.
    Meantime I must admit I read that statement the same way as you first time. However, on rereading I think what the author is saying is not that what you want cannot be done, rather it is best practice to guide authors to work in discrete areas.
    I will leave it to the author or another guru to give you a more complete answer.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Can we create multiple application with single MSI(or Same MSI) in biztalk admin console ?

    Can we create multiple application with single MSI(or Same MSI) in biztalk admin console ?
    My client requirement is process 100 files  from biztalk with in 5 min ,actually it is taking 20 min .
    So I decided to created same instance of the application with multiple time in BTS admin console ,as I understand biztalk admin console never allow to install same
    schema’s with multiple  time .
    Any help can be  appreciate ..

    BizTalk will automatically process multiple messages on separate threads so you may need to tune your system. The following link should get you started:
    http://social.technet.microsoft.com/wiki/contents/articles/7801.biztalk-server-performance-tuning-optimization.aspx
    Another possibility is to set the Batch Size property on your receive location if the adapter uses batch size to determine how messages are picked up.  As an example, it you want  the MSMQ adapter to immediately pick up messages and start
    to process them, set the batch size to 1.
    You may also need to distribute the processing across multiple BizTalk servers by installing BizTalk on additional servers and joining the existing BizTalk group.
    David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.

Maybe you are looking for