Complex application dependencies

I have a somewhat complex application dependency tree.
I have four applications A, B, C, and D. Each application is deployed in its own EAR file. B depends on EJB's from application A. C also depends on A. D depends on A, B, and C. In addition, A depends on B and C. So it makes a diamond, with A at the top, B and C side-by-side on the middle level, and D at the bottom. Each application is deployed in its own EAR file.
The parent attrib in server.xml doesn't handle this at all. First, you can only specify one parent for each application, and I have one app (D) that depends on three others. Also, the parent relationship only flows one direction. I have three apps that have bidirectional dependencies (A<->B, A<->C).
Putting all the EJB's in a single EAR file would be very clunky. A couple of my apps already take serveral minutes to deploy, putting them all together would seriously dent development productivity.
Has anyone else had complex dependencies like this? If so, how did you deal with them?
Thanks,
Lance

On 19/7/09 16:04, Ralf Ebert wrote:
> I have to agree, setting up a run configuration and dependencies for
> SWTBot for a complex application is tedious.
>
> What do you think about reducing the runtime dependencies of SWTBot?
> Something like a single plug-in "org.eclipse.swtbot.runtime" containing
> all the classes required at runtime (maybe complemented by separate
> finder plug-ins)?
Could you elaborate more on what you mean by a plugin containing runtime
classes and how you propose to split them ?
Ketan
http://studios.thoughtworks.com/twist | http://twitter.com/ketanpkr

Similar Messages

  • HR_INFOTYPE_OPERATION-- Complex Application Error

    Hi:
    I am using the FM "HR_INFOTYPE_OPERATION" for uploading data from flat file to IT0008 infotype.It's giving some error "A complex application error has occurred".I have checked SAP note 710779 but it does not help very much because we are already in the release and the correction is already there.Anybody with any idea is highly appriciated.Award points confirmed.
    ~Sinchan

    try putting DIALOG_MODE = '2' and execute the program.. you cn check if the values get passed to the function module ocrrectly..
    ~Suresh

  • Most complex application

    What is the most complex application that users have developed using HTMLDB? Is it available for preview (read-only) on htmldb.oracle.com?
    I am having difficulty "selling" HTMLDB in our predominantly client-server/VB/.NET/ASP, etc shop. "This is a configurator, not a development environment, you cant develop really complex apps using this" "You dont even have access to the raw HTML to tweak it". "Our typical apps have loads of business logic in it, no way this toy can do it", "The (MS) tools we are currently using can do all of this stuff, why would I want to consider learning a new tool and switching", etc.
    Thanks

    to be derived from zero experience or knowledge of
    HTML DB.Right, these were the comments I received after a 1-hour demo of HTMLDB to a group of MS-based developers who had never seen HTMLDB before.
    I do not understand the comparison to a configurator,
    that one is confusing. HTMLDB is a "configurator". You guys call it a "declarative programming environment". If anyone has seen Siebel Tools, that is also a configurator. In other words, a tool/environment which generates code for you and provides hooks to override/customize the generated code. The code in this case is HTML.
    Their thought was that any point-n-click, wizard-based tool is for sissies. "Real men" use Visual Studio or the other MS offerings. HTMLDB was compared to MS Front Page or even MS Access to build simple data-manipulation forms.
    I guess I would ask what is the definition of a "really > complex app"?An app with a lot of complex business logic, complex navigation, validations, high degree of client interaction (Javascript/DHTML with the browser paradigm), etc.
    I also like the conclusion of "the MS tools...can do
    all of this stuff". Do what? Write all of your
    business logic for you automagically? Hardly. TheBy "all this stuff", they meant the application development environment that HTMLDB provides, the widgets, the branching, the validations, etc. That is not exactly ground-breaking, a number of development environments out there offer similar things.
    Needless to say, I didnt agree. IMHO, HTMLDB is not a revolution, its a natural evolution for Oracle as a database company to provide tools to build apps using that data. But I can see how it does not offer anything so compelling as to persuade a 10-year MSCE veteran to consider switching
    Thanks

  • Application Dependencies

    Hoi!
    I've faced somekind of a bug, i think. It's surly documented but i will ask here anyway.
    I have a normal AO, nothing special, just association to a "install-user".
    Its like a installation-chain of needed applications, like JAVA, adobe flash player, microsoft office etc.
    In total i have 20 different AOs.
    Flash player for an example, I'd made one "installation-AO" and a "patch-AO".
    the installation-AO contains the msi-package, and the patch-AO distribute a file under the windows directory to disable autoupdates. Anyhow i want the installation-AO to get installed BEFORE the patch-AO.
    I've never seen this before, but when i run the installation-chain-AO with the application dependencies, it takes ALL of the containing application in a total random order. F**ked up?
    Is this behaviour normal?
    I'd also checked "Continue distributions immediately" on all the AOs within this dependency chain.
    Any help would be appreciated!
    Regards,
    Jokohanho

    Originally Posted by magic31
    Should be recent enough....
    The Snapins version in ConsoleOne can be found through the help 'about snapins' menu item (if that's what you are asking?)...
    I found it, is there any special snapins that is important?
    Most of the snapins exept the 3rd part snapins are 7.0 anyway. Its alot of snapis^^
    Originally Posted by magic31
    You might want to double-check if some other association has not been set (force run set on a group/container for example) directly on one of the dependencies...
    Nope, there is no force run.
    With all those install-AOs id only associated workstation with "App launcher" checked. To be able to install it as workstation thru, "Distribution Options > Options > Distribute in Workstation security space if...."
    Originally Posted by magic31
    If the order gets mixed-up when manually running the app and your dependency order and switches look okay... might be a bug??
    On the other hand, if this has only started happening recently.. one would think 'what has changed?' besides Zen that might be resulting to this?
    Is this random order happening everywhere, in in specific places?
    Mmm, never seen it before. And I've looked thru the settings alot in C1 and ZENworks.
    Its happening everywhere. With any user i use. (ive associated the chain to a user)
    Regards,
    Jokohanho

  • Application Dependencies for RAC DBs

    What are application Dependencies for RAC DBs specially there connectivity, and High availability?

    You'll probably get lots of suggestions based on lots of experiences, however, those things may or may not happen to your application. The best and always-applicable advice you'll get is that you absolutely must test your application in every possible scenario (and even scenarios you think are impossible) for how it reacts to failure as well as how it scales with parallelism and how much contention it creates due to its design. Create a realistic test environment, ensure you can produce realistic, real-world load on the application, and then start testing. With 11g, the load generation gets a lot easier to do with Real Application Testing. With earlier releases, it will be using more traditional methods/tools.
    So, you'll get good advice, but it won't be a substitute for doing the actual testing work yourself with your application.

  • Applications Dependencies for RAC DBs

    What are application Dependencies for RAC DBs specially there connectivity, and High availability?

    Hi, not must exist any dependency, for the applications must be transparent. The application only can see the service database where it cans connect and work.
    Regards.

  • Complex application

    Hi
    I am trying to build an application. The idea is:
    1. connect a mobile to a router
    2. Let the mobile search and display the devices that attached to the router (getting the device name and IP address)
    3. The user clicks on one of the devices to make a connection with it
    I tried to use HttpConnection to access the router and get the DHCP Table but it returns error because the got username and password. My router is Netgear DG834G.
    I know this sounds a bit complex but any help will be appreciated.
    regards

    In my test workspace I created Project1 and Project1 projects.
    In Project1, I created a package of BC4J components named package1
    I chose "Deploy Business Components..." on Project1 and selected a Simple Archive. Upon deployment, this created me two JAR files Project1CSCommon.jar and Project1CSMT.jar.
    I created a library for Project1CSMT.jar and added this library to my Project2 project's library list.
    In Project2, I created another BC4J package of components named package2
    I right-mouse "Import Business Components..." and I navigate to the Project1CSMT.jar and use the file dialog to "drill down" into the jar file just like a folder, and pick the package1.xml file. This results in importing package1 into Project2.
    I chose "Deploy Business Components..." in Project2 and select an AppModule Session Bean (BMT).
    I expand the Project2EJB.bcdeploy node in the navigator and right-mouse on the Project2EJB.deploy node to pick "Settings...".
    I click on the "Profile Dependencies" tab, and check [x] Project1MiddleTier.deploy and [x] Project1Common.deploy to make those two deployment profiles a dependency of this one.
    Then I right-mouse "Deploy" on the Project2EJB.bcdeploy node and it deploys my AppModule in Project2 as a remoteable application module. I go out to the file system and do:
    % jar tvf Project2EJB.ear
       329 Thu Jun 20 18:31:10 CEST 2002 META-INF/application.xml
      1665 Thu Jun 20 18:31:10 CEST 2002 META-INF/data-sources.xml
       286 Thu Jun 20 18:31:10 CEST 2002 META-INF/orion-application.xml
      4361 Thu Jun 20 18:31:10 CEST 2002 Project1CSCommon.jar
    13344 Thu Jun 20 18:31:10 CEST 2002 Project1CSMT.jar
    25345 Thu Jun 20 18:31:10 CEST 2002 Project2EJB.jar
      9185 Thu Jun 20 18:31:10 CEST 2002 Project2EjbCommon.jarto verify that it includes my imported JAR files into the EAR file.

  • Help in profiling a complex application needed

    Hi,
    I have a rather complex, general, problem here I would like to solve using
    dtrace so any hint, advise, similar experience etc would be more than
    welcome.
    Basically, my company has created a complex database system for acquisition
    and management of reference stock market data and the process has several
    phases (this is my understanding of it): acquire the data from
    e.g. Bloomberg in their native format, transforms it in some universal
    format and then use that format to load it into a database where it can be
    analysed, processed etc using more or less (in house developed) standard
    SQL with calendar extensions (e.g every Friday, last Monday in month etc
    etc). There are several processes (servers) involved: data server,
    scheduler, database server etc etc.
    Now, when we have installed the product at one of our customers (running
    E6500 with 24CPUs and 20GB of RAM, all that on Solaris 8 --I think), our
    product was given a two hours window every day to do a certain amount of
    work and to process several GBs of data (don't have the figures) and
    everything was fine, since we were able to finish that in 90 minutes. But
    now, as the amount of data within database grows (although still within
    preallocated 80 or 100GB size -- split into 2GB files to work around (ex)
    large file problem), for the same amount of work the product in question
    needs something like 180 minutes -- which is 1 hour too much.
    My task is to try to find out where the bottleneck is and to give some
    suggestions for speeding things up. The customer claims that the
    application is I/O bound and prstat -m more or less confirms that (almost
    no CPU latency, large amount of voluntary context switches etc etc).
    How do I confirm this using dtrace? I can't run dtrace on their production
    system since it's Solaris 8 but I have set up a Solaris 10 (s10_60)
    machine that has all the components installed and will try to run similar
    kind of work there.
    Where do I start? What shall I look for? The problem is also that there is
    a lot of programs involved, a lot of IPC (shared memory, semaphores, pipes,
    sockets) and in general when the system is busy, it is quite busy.
    I guess in ideal world, we would call Sun and ask them to figure the
    problem themselves, but it is not an ideal world and the golden age of .com
    is gone :-(
    Thanks and bye, Dragan

    Where do I start? What shall I look for? The problem
    is also that there is
    a lot of programs involved, a lot of IPC (shared
    memory, semaphores, pipes,
    sockets) and in general when the system is busy, it is
    quite busy.Well, this is definitely the hard part. DTrace makes it much easier to ask questions of the system, but you're asking "what questions do I ask?" There are lots of valid ways to go about this, but I often start by by looking at how the physical resources on the system are being used: CPU, I/O, networking and so on. For starters, squeeze all of the idle out of the system: as long as there is idle in the system, you're obviously not going as fast as you could. You want to start asking questions like "why am I doing I/O?" or "why am I coming off CPU?" If you could post some mpstat/vmstat/iostat data, perhaps we could provide some more concrete directions...
    - Bryan
    Bryan Cantrill, Solaris Kernel Development. http://blogs.sun.com/bmc

  • CM12 - Reporting all Application Dependencies

    Dear all, we have CM12 with 2000 applications defined. Some of the applications have dependencies set.
    How to report all applications that have dependencies AND what those links are ?
    From the Console GUI it is possible to add the "References" attribute that reports which applications have a reference to another application. How to obtain a list of all dependencies and clearly see which application is a parent, which is a child
    Have searched the net and forums without an answer but see others have asked.
    D

    Hi
    If you want to see from inside the ConfigMgr 2012 console, you have to do the following per application:
    Select the application
    From the Ribbon, select View RelationShips -> Dependency
    You will then get dependencies for that application shown graphically
    If you want to see dependencies for all your applications, you will have to use reporting. I cannot remember if such a report exists that will give that information but I do not think so. So you will have to create such a report yourself or wait for others
    in this forum to give you more information.

  • [JS CS5.5] Complex Application, want context that current script was called from

    I'm trying to create a slightly sophisticated application that is spread across several script files.  Some functions in these files call either other.  Here is what I want to emulate:
    A.jsx
    if(mainScript=="A.jsx"){
    doA();
    function A(){}
    B.jsx
    #include A.jsx
    if(mainScript=="B.jsx"){
    doB();
    function B(){
    // some stuff
    A();
    //some more stuff
    C.jsx
    #include A.jsx
    #include B.jsx
    #include D.jsx
    main(){
    D();
    A();
    etc...
    Basically, I want a script to act differently depending on if it is the one being called or if it is being called from elsewhere. I thought I could do this pretty easily by using global variables and something like:
    if(mainScript==undefined){
    var mainScript=$.fileName;
    But global variables persist between script calls so this doesn't work. I'm a bit stuck.  Anyone know how to do this?  app.activeScript doesn't work because I am executing through the extendScript toolkit. 
    I'm vexed.

    You're definitely not wrong John, this will resolve the problem.  Sometimes, especially when doing development in a large project with lots of interlocking pieces it's convenient to be able to have some test code within each file that tests the functionality of that specific code.  Even moreso when you are new to a language, so when you think you find a better way to do something you can quicky try it out and see what happens without invoking your monolithic program.  It's not difficult to achieve this approach by splitting into two files, it just means that you have to keep twice as many file tabs open and remember which one to switch to  "Go" instead of doing it with the code you are working  on.  It seems like an extra step for no good reason.
    I do this in Java all the time, most of my complex classes have a main() method so they can be executed standalone to try out a quick snippet or test some corner cases.  Comprehensive unit testing would probably be better but the time investment is much greater plus I doubt something like that would be well supported with ExtendScript.
    Is there any different between a jsx and jsxinc file or is that just a common naming convention that you or a community of people use to differentiate files?

  • Conflicting Application Dependencies

    Hi
    Can't quite work out if the problem I have had on multiple occasions is by design, a bug or it just hasn't been considered by Microsoft in the development, any thoughts please?
    I will explain the problem by example:
    QuickTime 7.7 is a required deployment to all computers. Dependencies:
    - Priority 1, Application Support 2.3, Auto Install: No
    OR
    - Priority 2, Application Support 3.1, Auto Install: Yes
    iTunes 12 is available to all users. Dependencies:
    Bonjour AND Mobile Device Supp AND Application Support 3.1 - all auto install: YES
    Application Support 3.1 supersedes 2.3 and is set to uninstall before install. 
    Only QuickTime and iTunes have required deployments, others don't.
    The QuickTime previously only had the app support 2.3 dependency with auto install. Therefore all machines tested have app support 2.3, and have updated policy so should see 3.1 as the OR dependency.
    Go to install iTunes 12 from the Catalog and it always fails evaluation, I believe it should pass fine but assume it fails because it would need to uninstall application support 2.3 which is a dependency of QuickTime, regardless of the fact it will install
    3.1 which is also the OR dependency. I would hope it would be able to work this out.
    Thanks

    Hi,
    Please also refer to the link below:
    Re-Packaging Apple iTunes 10.6.1.7 and later
    http://msiworld.blogspot.com.au/2012/06/re-packaging-apple-itunes-10617-and.html
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Examples of large, algorithmically complex applications

    Does anyone have an example of a large, algorithmically complex Java Application (something on the order of 250K-1M lines of code)? I'm doing a language study to see how well mature Java applications scale over the life of long projects.
    If anyone knows of any examples or could point me to someone who can, it would be appreciated.
    Thanks.

    Two ideas come to mind:
    1) OpenCyc: http://www.opencyc.com/ A java based platform derived from an attempt to breed intelligence into machines.
    2) ANY examples of neural net software you can find that are java based.
    http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=java+neural+net

  • Complex application OC4J deployment

    I need an help to deploy a "local deploy" developed application in OC4J.
    I tried to deploy in OC4J a simple BC4J application, succesfully.
    Now, this is my situation:
    I have a lot of applications which have
    1) a common set of BC4J package. This package has a single table EO, VO, and an ApplicationModule. This BC4Js have a common frame in all applications.
    2) a set of BC4J used for single applications and used in other applications as imported in BC4J projects.
    Now, deployed in local mode, I did a .jar and imported this jar in other project.
    What I have to do to make all ApplicationModule remotable?
    Do I need to change manually .jpx file to change the import location of Business component?
    After all, is better to have a lot of EAR with common jar inside, or is better to build a single EAR?

    In my test workspace I created Project1 and Project1 projects.
    In Project1, I created a package of BC4J components named package1
    I chose "Deploy Business Components..." on Project1 and selected a Simple Archive. Upon deployment, this created me two JAR files Project1CSCommon.jar and Project1CSMT.jar.
    I created a library for Project1CSMT.jar and added this library to my Project2 project's library list.
    In Project2, I created another BC4J package of components named package2
    I right-mouse "Import Business Components..." and I navigate to the Project1CSMT.jar and use the file dialog to "drill down" into the jar file just like a folder, and pick the package1.xml file. This results in importing package1 into Project2.
    I chose "Deploy Business Components..." in Project2 and select an AppModule Session Bean (BMT).
    I expand the Project2EJB.bcdeploy node in the navigator and right-mouse on the Project2EJB.deploy node to pick "Settings...".
    I click on the "Profile Dependencies" tab, and check [x] Project1MiddleTier.deploy and [x] Project1Common.deploy to make those two deployment profiles a dependency of this one.
    Then I right-mouse "Deploy" on the Project2EJB.bcdeploy node and it deploys my AppModule in Project2 as a remoteable application module. I go out to the file system and do:
    % jar tvf Project2EJB.ear
       329 Thu Jun 20 18:31:10 CEST 2002 META-INF/application.xml
      1665 Thu Jun 20 18:31:10 CEST 2002 META-INF/data-sources.xml
       286 Thu Jun 20 18:31:10 CEST 2002 META-INF/orion-application.xml
      4361 Thu Jun 20 18:31:10 CEST 2002 Project1CSCommon.jar
    13344 Thu Jun 20 18:31:10 CEST 2002 Project1CSMT.jar
    25345 Thu Jun 20 18:31:10 CEST 2002 Project2EJB.jar
      9185 Thu Jun 20 18:31:10 CEST 2002 Project2EjbCommon.jarto verify that it includes my imported JAR files into the EAR file.

  • Complex Webdynpro application architecture on JAVA WAS

    Hello,
    I am planning to develop quite complex application with Webdynpro presentation layer. I'm not so sure in j2ee technologies but I have some experience but only from quite simple applications mostly which shows some issue in j2ee programming model. I want to run my application on Java stack of WAS and underlying DB. In my DB model there is cca. 40 tables. So I'm now looking for some choice of overal architecture. I'm thinking about that there will be on bussiness layer Stateless session bean(s) which will be wrap almost all functionality and I plan to access database from bussines methods (directly or probably through some other wrapper class through openSQL/jdbc).
    My question is if can anyone advice me if this architecture is good or not. I was thinking about object persistence too (mainly JDO) but in my count of tables seems it to me as really hard work, and with entity beans I haven't so much experiences. When to use JDO and when jdbc acces ?
    Secondly I want to ask this:
    I am used to program in java in jdbc to regular database (mysql, oracle) and there I am able to create my DB tables and so on through script generated from modeling tool. Is this can be in Java Dictionary ? or I have to click my tables in Java Dictionary Perspective. And how can I set foreign key constraints in Java Dictionary Perspective ? is it posible ? or I have to check reference integrity each time I use Insert, Update, Delete commands ?
    I know this is quite many question at once, but I will be glad if anyone can answer any of that.
    Best Regards,
    Miroslav Koskar

    Miroslav,
    Your application seems to reach "critical mass" of business objects involved. If you can -- go ahead with CAF.
    Any other approach will work too -- be it either Entity EJB with session facade or JDO (directly / indirectly exposed). But...
    You'll will have to create plain JavaBeans for DTO in case of EJB... Even with JDO you'll have to track CUD operations in CRUD differently hence repeating work that CAF team already did. Next you'll have to create JavaBean models for your objects (thought, not a rocket science till time of model upgrades). Next you'll have to tweak this model to use types from data dictionary... And, again, this is provided with CAF out of the box...
    Your second question is actually minor one -- using DDIC is possible with either approach and referntial integrity will be preserved with either technology.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Complex webdynproJava applications with out using Models.

    Hi Experts,
    I want some sample complex webdynpro JAVA applications with out using Models.
    Thank you,
    Usha.G

    HI
    chec this link
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    hope you can get some complex application you need
    and check this thread
    how to create one complex project in web dynpro

Maybe you are looking for

  • Field Text is a required field for G/L account BP01 45600000

    hi mm i wa screating migo i ahve entered all the details but when i go to post i face a error called : Field Text is a required field for G/L account BP01 45600000 Message no. F5808 Diagnosis The value for field "Text" in the interface to Financial A

  • Dynamic Class Reference in Custom Class

    I've created a custom class that I want to be able to dynamically insert a movie clip from the library. I'm running into trouble because I want to access the clip as a property of the custom class object (ie: so it can be swapped out for another libr

  • My mac pro with dual monitors keep switching sides after reboot

    Hi all, I am having a really weird issues with my Mac Pro after I installed Mountain Lion. I have dual ACD Monitors.  Every time I reboot, the monitors switch sides.  In other words, the monitor that is in front of me with the dock would switch to th

  • Cursor group by error

    I have the following cursor defined in a oracle procedure: Cursor counts_cursor_comb is Select period, sum(count) as count, sum(group_cnt_total) as group_cnt_total, sum(total_income) as total_income, sum(group_income_total) as group_income_total, sum

  • Getting Machine IP Address

    Hi, We have a standalone Flash application (i.e. we run the swf directly, not in browser) which displays information about an application running remotely. When the app is run on on one and only one machine we want to display all data, on all others