Dividing Applications into different OC4Js

Posted on 2005-05-10
Last Modified: 2013-12-01
My colleague at another site is currently configuring his mid-Tier so that each application is installed in different OC4J. Considering we have four different levels of environments (dev/test/integration/production), this means four OC4Js per application.

His justification is that they can "stop" the application any time he wants by stopping the OC4J.

Is this correct and if so why? If not why and what is the correct way?

Does anyone have any experience of when it would have been better to have multiple OC4Js?
Question by:rkogelhe
    LVL 13

    Accepted Solution

    There are no hard and fast rules regarding OC4J configuration / app distribution. Given your four stage environment and the potential risk of running development and test / int / prod software on the same server, I'd see your colleagues solution as 'correct'. Many (large) organisations would run with a complete app server instance (hardware and software) for each of those stages, so I think this is a good compromise. There is a very little difference from an app performance point of view -- the benefits are mainly administrative.


    LVL 3

    Author Comment

    Thanks for your answer. It confirms what I understand.

    I agree that it's a safer way to run things for production (with one app per oc4j). What I think I'll do is mix it a bit. A single dev oc4j and test oc4j, but app-isolated oc4js in integration and production, with the integration oc4js only started for integration testing purposes. I'll also recommend that they keep applications together (in the same oc4j) that they see as dependent on one-another and that would be stopped together or deployed together anyway.
    LVL 13

    Expert Comment

    I agree a single dev & test environment is probably safe enough & reduces unnecessary admin

    good luck


    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
    There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now