Address.java, Employee.java and ReadWriteJson.java
Address2.scala, Employee2.scala and ReadWriteJson2.scala
employee.txt
build.sbt
$ sbt compile
$ sbt run
The Simple Build Tool (sbt) is used. It works for both Java and Scala.
Scala makes the creation of Java Beans easy with the built-in BeanProperty annotation.
Java has no built in capabilities, but Project Lombok provides support.