I’ll go ahead and throw in Lift as a great Web Framework to use.
As for configuring the server, I typically use sbt-assembly to build an uberjar and just deploy that on the server. An uberjar rolls up all the dependencies into a single JAR file, so the only think you need on your server is the correct version of Java. (Lift requires Java 8, fwiw.)
After that, you can just run:
$ java -jar /path/to/your/uberjar.jar
You’ll probably also want to install nginx on your server as a reverse proxy, but you’d need to do that with PHP, too.
Let me know if you have any further questions. Happy to help.