Documentation Center

Installing the web application in SDL Web 8 (Java)

To deploy the example web application in Java, you must deploy the SDL Digital Experience Accelerator Java framework.

Before you begin

  • Install Java SE Development Kit 8.
  • Include %JAVA_HOME%/bin in your PATH.

About this task

Use scripts included in the web\install folder of the DXA Java CD layout.

Procedure

  1. Depending on the kind of application you want to build, in the source-config\web8 directory, go to either the common or staging folder.
  2. In the commons|staging folder, edit the following configuration files replacing the values provided with actual values:
    • cd_client_conf.xml
      • ***DISCOVERY_SERVICE*** - the URI of the Discovery Service.
    • cwd_client_conf.xml
      • ***DISCOVERY_SERVICE***
  3. (Optional) To change the message logging level:
    1. Go to the common folder and in the logback.xml file, edit the log.level property.
  4. To build your web application for the production server, from the command line, run the prepare.cmd|sh interactive script.
  5. Deploy the customized WAR file in your application server.

Results

Your WAR files is created. You can find it in the target folder.

For advance customization, you can create your own web application without using scripts included in SDL Digital Experience Accelerator. See Creating web application (Java).