Follow the procedure to create your Java module:
Loading...
Managing configuration (Java)
Using Java module in your web application
Building Java module with Maven POM
Adding views to custom module
Java web application
Working with the Software Development Kit (SDK)