To edit or add content to this Wiki, you can simply create a new account at

This is a basic proof-of-concept Scala template.
Scala is supposed to reduce boilerplate and so potentially allows for a better or improved solution.

#if ($entity.packageName)
package $entity.packageName

import org.apache.log4j.Logger

class ${entity.classNameWithoutPackage} extends ${entity.superclassPackageName}.${entity.classNameWithoutPackage} {
  private lazy val logger = Logger.getLogger(this.getClass.getName)

object ${entity.classNameWithoutPackage} extends ${entity.superclassPackageName}.${entity.classNameWithoutPackage} {
  • No labels