Added web domain JavaConfig configuration

* ./gradlew -Dtest.single=WebDomainIntegrationTest test