Targeting Web Applications to Virtual Hosts in J2EE

Chapter 2 - The Structure and Deployment of Web Applications

    Targeting Web Applications to Virtual Hosts in J2EE

  • Targeting Web Applications to Virtual Hosts

    A Web application component can be targeted to servers and virtual hosts using the WebLogic Administration Console.

    The versions of WebLogic Server,that in the config.xml file, all Web application must be specified in the targets attribute.

    The targets attribute has replaced the virtual hosts attribute and a virtual host cannot have the same name as a server or cluster in the same domain.

    < AppDeployment name="test-app" Sourcepath="/myapps/test-app.ear" >
    < SubDeployment Name="test-webapp1.war" Targets="virutalhost-1"/ >
    < SubDeployment Name="test-webapp2.war" Targets="virtualhost-2"/ >
       ...
    < /AppDeployment >


    ...

© 2015 by Learncertification All Rights Reserved. The certification names are the trademarks of their respective owners. Terms & Privacy Policy