In my previous post Creating a DXA Java Module , I started presenting the steps for creating the Tridion items on the Content Manager needed for the new DXA module. In this current post, I present the Java code and configuration for having the DXA module run in a web-application. I wrote my code as a separate JAR using IntelliJ and then running the DXA v1.5 web-application on Tomcat as part of the standard DXA reference implementation project dxa-web-application-java (available in GIT at https://github.com/sdl/dxa-web-application-java/tree/release/1.5 ). What follows are the steps on how to create the DXA Java module classes and configurations. 1. Create the IntelliJ Emerald Module In IntelliJ, create a new Java Module and enable Maven for it. Add the following dependencies in its pom.xml file: <dependencies> <dependency> <groupId> com.sdl.dxa </groupId> <artifactId> dxa-common-api </artifactId>...
talk is cheap. show me the code.