2 Replies Latest reply: Sep 23, 2011 9:59 AM by cortlander1 RSS

    Sub Applications with Modules?

    cortlander1 Community Member

      Hi:

      We have several applications, each having a main mxml file with code that calls

      remote data services using BlazeDS and several modules. The applications

      communicate with the modules through a shared interface.

       

      We are considering creating a main application that can integrate the above as

      sub-applications. Is there an issue due to our current apps having modules

      and remote data services?

       

      Thank you.

        • 1. Re: Sub Applications with Modules?
          wonder.blunder Community Member

          There should not be any issue given if its is done right. Are these application programmed with ant design pattern using framework such as PureMVC or Cairngorm? I would highly recommed employing a design pattern to do the main app, and make sure you have an unbiased testing done to the bones. Were these applications done in AS2 or AS3?

           

          Thanks.

          • 2. Re: Sub Applications with Modules?
            cortlander1 Community Member

            Thanks for the response.

             

            We are not using Cairngorn. Currently each app has been built with AS3 and Flash 4, and is running on its own on Tomcat or JBoss. The main application contains remote services which access Spring/Hibernate libraries on the back end through BlazeDS which also runs on Tomcat or JBoss. The user interface is built using Modules and each has an interface. The asynchronous remote services on the main Application pass values to the Module through the interface, never directly.

             

            In the past, we have used a separate application that functions as a login and navigator to each of the above applications. We were thinking that instead of this, we could make sub-applications out of each of the above applications. However, I am not sure if the following is a viable way to organize this:

             

                 Main Application

                      SubApplicationA (with remote services) - Module-A1, Module-A2 etc

                      SubApplicationB (with remote services) - Module-B1, Module-B2 etc

                      ...

             

            What are your thoughts on such an approach?

            I have also read that sub-application with remote services should be in its own sandbox.

             

            Thanks again.