Using Java module in your web application

Procedure

  1. Add the following dependency to your module in the POM of the web application:
    <dependency>
        <groupId>your_groupID</groupId>
        <artifactId>your_module_name</artifactId>
        <version>${project.version}</version>
    </dependency>
    
  2. Build your web application to a war file.
  3. Deploy your web application to your server.