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

Similar Messages

  • Multiple Web Services in one Jdeveloper project

    Hi all,
    I'm currently trying to implement a series of web services, all relating to one application. I'm using the top-down approach, where I generate the web service from a WSDL file, and add my implementation to the generated classes. The WSDL file imports all sorts of XML Schemas (xsd-files) and Jdeveloper correctly generates all the necessary java-classes for me. Lets call the first web service I create WS-1.
    This all works fine and I'm a happy panda. I can call the web service, it works, I can modif the wsdl and regenerate the web service to e.g. change the input etc. All this works.
    Just until the point where I want to create a second web service (lets call this WS-2). This new web service doesn't use all the XML Schemas that the first web service does, it is more simple with regards to in-/output. The problem arises when I modify WS-2 and Jdeveloper regenerates the Web service files (.java and the files in the WEB-INF/wsdl-directory). When I do this, it deletes the imported xsd-files that WS-1 uses (removes them from WEB-INF/wsdl).
    And when I regenerate WS-1 to get my xsd-files in again, then when I regenerate WS-2 it imports all the unnecessary xsd-files into the wsdl for WS-2.
    Something tells me, that there is a connection or shared library between all web services in one Jdeveloper project. That they all imports and uses the xsd-files in WEB-INF/wsdl.
    Is this true? Can't I have multiple web services (and wsdl-files) using different types (schema definitions) in the the same Jdeveloper project?
    One solution I can think of, is to have all my web services in different projects under the same application. But is this really necessary?
    I'm using Jdeveloper 10.1.3.3.0.

    Hi,
    pure from a coder instinct I think I would prefer them to be in separate projects for better reuse and clean separation. If I need project 1 to access aclass from Project 2, I can check the dependency check box in the project properties. Is there any business requirement that makes you think having all of these in a single project will help ?
    Frank
    Btw.: I agree that JDeveloper shouldn't constraint developers from doing what they want and if this is a limitation the feel free to file a bug

  • Two web Applications targeting one model project, missunderstand

    Hi sirs;
    Does two web application can use the same applicationModule Pooll Instance ? like the cenário below;
    Or
    Each web application must have it's own model Project ?
    JDev 11g, WebLogic Server Version: 10.3.1.0
    The simpliest way to explain my doubt;
    1. Lets create one Fusion ADF Application;
    1.1 ViewProject_One
    1.2 ViewProject_Two
    1.3 Model_Shared
    One index.jspx in each viewProject and one adfTable targeting the same AppModule ( here I tried also to create a second appModule extending the original )
    When we run ViewProject_One it works ok;
    When we Run ViewProject_Two it worsk ok;
    Whe we Runnig viewProject_two tried to browse ViewProject_One index.jspx whe crash into
    29/09/2009 09:52:52 UNEXPECTED_CLIENT_OBJECT_TYPE oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl
    SEVERE: oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl
    29/09/2009 09:52:52 org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl _populateUnknownAgentImpl
    WARNING: O User-Agent "mAgent" é desconhecido, criar um agente com atributos de agente "desconhecido".
    This post is an try-and-error of this original post Deploy Enterprise application with 2 modules ( web applications )
    Thank's for any help
    Thanks
    Edited by: Marcos Ortega on Sep 29, 2009 6:07 PM
    Edited by: Marcos Ortega on Oct 1, 2009 5:00 PM

    My question actually was not about compile time dependencies, but about run-time dependencies between two projects app1.jpr and app2.jpr.
    First project has J2EE context root /app1 and the second one has context root /app2.
    First project runs as http://localhost:8887/app1/login.jsp where user can login. After successful login it renders page with link to the page in the second project, e.g. http://localhost:8887/app2/welcome.jsp
    When user clicks on this link it is supposed to transfer control to the second web application app2.
    The problem is the first root context does not recognize the /app2 context. Only if you execute second project first it will start in its own root context which is /app2, but then it is not possible to use application app1, which must be executed first!?
    I guess application.xml, orion.xml, web.xml etc. must be configured but don't know how

  • Pros & Cons for having multiple AS for the same VRF

    Hi,
    I just wonder if there is any added value of having mutiple private AS numbers for a single VRF, compared to the usual practise of having one single AS for the entire enterprise network of a give customer. The solution provider is setting a requirement for having 3 AS numbers to connect to the MPLS IP-VPN, one AS for Primary Data Center, and one for Disaster Recovery Center and one for all the 1,000+ branaches.
    Appreciate your input.
    Sam

    Hi,
    I don't see any benefit for using three different AS number. Only benefit is we need not to use as-override (or allowas-in)
    if having three different AS.
    I worked for on Provider who was not much strong in processes and was not having automated tool to configure customer links, i mean everything was manual. I see many times that though customer requested to use as-ovveride at provider link
    people generally forget to configure the same and at time of testing the usual fault was missing this command at provider end.
    But if your provider is standard ( in terms of processes) then You can use only one AS number. This is what i experienced. technically i dont see much benefit in having three different AS.
    Regards # Mahesh

  • Multiple Web Applications WLS 7.0

    Hi,
    I am trying to configure multiple web applications on the same WL 7.0 server and
    am having trouble doing the following.
    I would like to be able to use the following URLS:
    Application #1:
    http://myserver/st/aems - where st/aems maps to the path X:\SimpleTrade2\AEMS\ui\source\htdocs
    Application #2:
    http://myserver/st/acms - where st/aems maps to the path X:\SimpleTrade2\ACMS\ui\source\htdocs
    Root - Default web application - This would be left empty with the idea that our
    company could sell our web applications and we would deploy them on someone elses
    WLS and we would not conflict in any way.
    The problem with the above is that when I look at the DTD and try and configure
    config.xml in the following way:
    <Application Deployed="true" Name="AEMS"
    Path="X:\SimpleTrade2\AEMS\ui\source\htdocs" TwoPhase="true">
    <WebAppComponent DeploymentOrder="2000" Name="aems"
    Targets="simpletradeserver" URI="st/aems"/>
    WLS blows up on startup because it tries to POST-Pend the URI to the path... If
    I change it to:
    <Application Deployed="true" Name="AEMS"
    Path="X:\SimpleTrade2\AEMS\ui\source" TwoPhase="true">
    <WebAppComponent DeploymentOrder="2000" Name="aems"
    Targets="simpletradeserver" URI="htdocs"/>
    This will work but then my URL is not what I want it becomes http://myserver/htdocs
    Is there anyway around this or a way to get what I want?
    Another piece of information, I am developing in Exploded directory format when
    we deploy it will be as an ear.
    Thanks in advance for any ideas!!!
    -Jerry Rodgers

    Thanks for the info Christian.
    I thought I would pass along a bit more inforation for others who might be trying
    to do something similar. In case they run across this message.
    I did determine that if you are using a .WAR file the name attribute of the xml
    node WebAppComponent will allow you to create a different context path than the
    URI. I did not test to see if it allowed you to use a name like "st/aems" I am
    sure "st.aems" would work or any name that may be different than the URI. The
    weird thinhg is that when using the EXPLODED DIRECTORY format the URI is the name
    of the folder under the path and the name property appears to be ignored no matter
    what you change it to you can only get to your web app using the URI.
    Hope this helps someone who comes after me and is looking for the same thing,
    maybe they won't spend 6 hours on it like I did ;>
    -Jerry
    "Christian Plenagl" <[email protected]> wrote:
    >
    Hi,
    this is not possible.
    The URI field contains the directory name of the WebApplication, which
    normally
    is the same name as the directory where you put the webapplication in.
    Christian Plenagl
    Developer Relations Engineer
    BEA Support
    "Jerry Rodgers" <[email protected]> wrote:
    Hi,
    I am trying to configure multiple web applications on the same WL 7.0
    server and
    am having trouble doing the following.
    I would like to be able to use the following URLS:
    Application #1:
    http://myserver/st/aems - where st/aems maps to the path X:\SimpleTrade2\AEMS\ui\source\htdocs
    Application #2:
    http://myserver/st/acms - where st/aems maps to the path X:\SimpleTrade2\ACMS\ui\source\htdocs
    Root - Default web application - This would be left empty with the idea
    that our
    company could sell our web applications and we would deploy them onsomeone
    elses
    WLS and we would not conflict in any way.
    The problem with the above is that when I look at the DTD and try and
    configure
    config.xml in the following way:
    <Application Deployed="true" Name="AEMS"
    Path="X:\SimpleTrade2\AEMS\ui\source\htdocs" TwoPhase="true">
    <WebAppComponent DeploymentOrder="2000" Name="aems"
    Targets="simpletradeserver" URI="st/aems"/>
    WLS blows up on startup because it tries to POST-Pend the URI to the
    path... If
    I change it to:
    <Application Deployed="true" Name="AEMS"
    Path="X:\SimpleTrade2\AEMS\ui\source" TwoPhase="true">
    <WebAppComponent DeploymentOrder="2000" Name="aems"
    Targets="simpletradeserver" URI="htdocs"/>
    This will work but then my URL is not what I want it becomes http://myserver/htdocs
    Is there anyway around this or a way to get what I want?
    Another piece of information, I am developing in Exploded directoryformat
    when
    we deploy it will be as an ear.
    Thanks in advance for any ideas!!!
    -Jerry Rodgers

  • How to keep multiple function modules under one Web service

    Hi Experts,
    I have Three RFC function modules and i need to create one web service for these three RFC function modules. I know How to crearte a web service for one function module.
    please suggest me How to keep multiple function modules under one Web service.
    Thanks in advance
    Lakshminarayana

    Hi Lakshmi,
    The best way to do it is to assign all the three RFC Enabled FM's to one function group. Later on the top menu in Utilities you get an option to Create a Webservice from a Function Group.
    You can create one single Webservice using all the the 3 FM's.
    I hope this helps.
    Thanks,
    Manu

  • What are the pros/cons of having 1 large BI system versus 2 medium systems?

    What are the pros/cons of having 1 large BI system versus 2 medium systems?  Are there any known limits as to how large a BI system can be until it experiences performance problems?
    Thanks!

    Hi,
    I dont think there is any limit as long as your DB and Apps servers support it.
    There are case studies on systems from 20 TB to 60 TB.
    Regarding having two meduim installations it may not be a right choice if you consider facts like routine maintenance, DB upgrades and reorganization, number of resources required, number of DEV and QUAL servers required (this will increase as each PROD requires one DEV and one QUAL atleast).
    If you have a single PROD you can do away with this.
    One DEV , one QUAL and a single team of dedicated resources are required to maintain the system.
    Try this Help files.
    Large Data Warehouse Implementations
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c04aa1fe-0fa2-2a10-b78f-be514604d3eb
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/dcd29c7a-0701-0010-ceb3-8ac3918f1ac7
    Experiences with SAP NetWeaver® Business Intelligence at 20 Terabytes
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/406a36d7-99b0-2a10-8b89-f91b4a020bd2
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d56bbf90-0201-0010-53aa-923512127968
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/80d636a9-2dc1-2a10-42a3-ac0b8eac5dc0
    Infrastructure Solutions Design, Manage and Optimize a 60 TB SAP NetWeaver Business Intelligence data
    warehouse
    http://www.redbooks.ibm.com/redpieces/pdfs/sg247289.pdf
    http://www.sap.com/platform/esoa/pdf/CS_NetWeaver_Case_Studies.pdf
    Hope this helps.
    Thanks,
    JituK

  • Session sharing among different web application under Oracle AS

    Hi,
    I'm looking for some information on web application session information sharing under Oracle AS10.1.3.
    any pointers are highly appreciated.
    Thanks,
    Narasimha.

    Hello,
    I see that you have duplicate your post in different forums, Session sharing among different web application under Oracle AS10.1.3.
    Regards
    Tugdual Grall

  • Authentication Across Multiple Web Applications (Revisited)

              Its been an ongoing battle, but I've made some insight into this situation. The problem stands as it seems impossible to authenticate against one web application deployed as a WAR archive and have that authentication carry across to another web application with the same security constraints. I've been told by BEA that, quote:
              "It seems to me that we are violating section 11.6 of the servlet 2.2 spec which talks about webapps"
              I've also been told that this is fixed in WLS 6.0, reference issue #38732.
              For those of us building production environments using 5.1 instead of 6.0 XML based configuration, this does NOT solve our problem.
              I've dug further into the bowels of 5.1 and found that if you manually set the realm name in the login-config of the security constraint in the web.xml file in each WAR deployment as such:
                   <login-config>
                        <auth-method> [whichever method] </auth-method>
                        <realm-name>WebLogic Server</realm-name>
                   </login-config>
              Authentication will carry across web applications. However, I've noted that the session management then becomes unpredictable. For example:
              I log into the application TESTAPP1 which contains a protected servlet that outputs the session ID and attempts to get the authenticated principal name from the "_wl_authuser_" session variable. Upon first load of the page (after the login dialog box), the session is null [can be fixed with .getSession(true) call instead] and the "_wl_authuser_" object does not exist. Reload the page and the session appears as well as the "_wl_authuser_" object. Strange.
              I then move to TESTAPP2, which does not prompt me for authentication but also is missing the session in the same manner. Upon browser reload, the session is created with a different ID and the "_wl_authuser_" object is now available with the appropriate principal name.
              Upon moving back to TESTAPP1, I am not prompted for authentication however, I am assigned yet another session ID after browser reload, different from the first.
              So it seems that although authentication is carried across web applications, the session IDs as you move from TESTAPP1 to TESTAPP2 change, and then change again but not back to the original when going back to TESTAPP1.
              This is a particular problem since we are using Vignette's V5 as our main client and tracking sessions through V5 - this would quickly become unmanageable if a single page view access three or four different application components with three or four different session ids.
              I'm wondering if we can expect the same behavior from WLS 6.0?
              Ideally, I'd like to see WebLogic use a single session ID to track users across multiple web applications but still have session independence between applications. So if I store something in session in TESTAPP1, its not available in TESTAPP2. Does this outline the behaviour in WLS 6.0? Can anyone verify this?
              Some food for thought. Thanks!
              ./Chris
              Senior Systems Anaylst
              MassMutual Financial Group
              

    Hello! I am searching an answer to this question too!!!
    Did you get some news regarding this item?
    Regards,
    C.M.

  • Does anyone have experience with having multiple editors work on the same project from different computers?

    Does anyone have experience with having multiple editors work on the same project from different computers?

    As much as I hate to admit it, YOU ARE RIGHT!
    I will tread lightly on this project.
    Thanks for the sanity check,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • 2 Web Applications on One Cloud Service

    Hi,
    I know there is information out there on this because I have come across it before, but unfortunately I cannot find it now so I will ask the questions here. I see a post about running applications on different ports within a cloud service, I am not sure
    if that is the same thing that i am talking about.
    Anyway, here is my question.
    - Can I run two web applications in one cloud service?
    - If I can, is it possible to update each web application separately or do I need to do a full deployment each time one of the web applications needs to be updated.
    - If I can, is it possible to have two different domain names for each web application within the application?
    If all that is possible, how do i do it? In Visual Studio, do i just right click my solution and click add new project, and then just deploy.
    Many thanks in advance for any comments or feedback.
    David

    Yes, you can run multiple web applications on a single web role. 
    Read more about it at - http://www.wadewegner.com/2011/02/running-multiple-websites-in-a-windows-azure-web-role/
    About deployment, you wont be able to update your web applications individually as you will need to upgrade your entire service with deployment package.
    About domain names, as mentioned in the article - http://msdn.microsoft.com/en-us/library/azure/gg433110.aspx
    If you must host different websites on one web role with several users, you should use the VM role and configure the IIS isolation boundaries that are
    necessary to provide appropriate security for each site.
    Bhushan | http://www.passionatetechie.blogspot.com | http://twitter.com/BhushanGawale

  • How to setup multiple base station under one network?

    How to setup multiple base station under one network? I have 6 rooms but one airport base station makes really difficult to get good signal from every rooms. I wonder if I can setup multiple airport base stations talking to each other under the same network to build up the signal strength will help solve this problem. But, is it possible? How?

    One route would be to utilize a "roaming" network. In a roaming network, you would connect multiple AirPort Extreme Base Stations (AEBS) to the same Ethernet. Of course, this would require that your home is already wired for Ethernet.

  • Secure and non-secure access to the web application in one war

    Say we have one web application (in one war) which includes JSP, servlets and the security intercepter. There is one business requirement to have most of the JSP(s) accessed via HTTPS, but a few JSP(S) accessed via HTTP.
    My questions are:
    a. Is this possible, or a reasonable requirement or a good practice?
    b. if yes, what can we do to make it happen in the security intercepter implementation?
    c. If not, what is the technical reasons?
    Thanks much.

    a) Yes its is reasonable and good practive, there is an overhead using https, so you should only encrypt file you need to. When you use an online store, only account details / payments are https, the shop itself is http
    b) I dont really understand your difficulty. You can define a folder as 'secure' and put all your secure pages in this folder, leaving non secure files in a different folder. Whenever a page in the secure folder is accessed, https is automatically invoked.

  • Multiple web galleries in one website

    Hi guys,
    Is there anyway to have multiple web galleries in one website,
    ie linked off one page
    Gallery 1
    Gallery 2
    Gallery 3
    I can rename the swf, and js files and it works fine, but when i rename the gallery.xml file to what i want, it wont work.
    Have opened the .xml file and resaved as what i wanted also
    Is there anyway for me to modify the names? so i can have a few different galleries on the one site?
    Any help appreciated
    Cheers
    Claire

    Seems you may need something like TTG Auto Index?

  • Merging Two JSF, ADF BC Web Applications into One web application

    What would be the best way to take two JSF, ADF BC web applications written by two developers and merge them into one web application. Any place to start would be greatly appreciated. I'm using Oracle JDeveloper - 11.1.1.4.0
    Edited by: Sunanda on Jul 26, 2011 4:13 AM

    Take a look at this thread:
    Merging Two JSF, ADF BC Web Applications into One...
    Although the thread is old, but it provides about the types of contents you would need to take into consideration while merging.
    With the knowledge from the above thread, you could use refactor option in the JDeveloper menu to move the contents from one project to another.
    Thanks,
    Navaneeth

Maybe you are looking for

  • Z10 calendar entries can't be deleted

    On getting my Z10 I performed a device swop using Blackberry Link from from Blackberry 9860 running OS 7.1. It was a virtual failure, only copying a few pieces of data, no contacts at all and only a few calendar entries, which were from 2011. On my Z

  • Having problems with restoring my iphone 4 to iphone 4s

    Hi everyone, I have been having a nightmare with backup and restoring my from my iphone 4 to iphone 4s since Friday night. Naturally, I got home with my new Iphone 4s and wanted to get it up and running with my current contacts, sms and notes (and ap

  • How do you fix the ActiveX controls?

    When trying to play games in IWin the message comes up and says and beeps that the ActiveX controls isn't working on some level. Do I need to worry about this message? If I do, how do I go about fixing this problem. Do I need to upgrade this control?

  • Distribution cycle for cost centers

    Hi,    I have created a distribution cycle for cost centers using SKF. I have even created document using KB31N. based on this document the sender  should have some amount after executing the distribution cycle, but here the sender value is completel

  • What are the possiblities to create BO report on SAP Tables

    Hi All, Can any one please sugegst me the possiblities to create a BO report WEBI/Crystal on SAP ECC Tables . Thanks Bin.