I have been learning to use akka for a year. At present, I am still used to writing programs under akka in Java. For native Scala, there is still no time and interest to learn it. After all, learning a language requires interest and time.
Akka learning resources are not rich yet. I have read the official Programming Manual and the akka essenins. There are not many programs written by myself, but they are also put on GitHub. In addition, it takes a lot of time to compile and configure akka, upgrade versions, and deploy multiple servers to build an akka cluster. As required by the project, two Mac desktops and a ThinkPad t400 were re-deployed in the office last week to form an akka cluster distributed development environment.
There are two methods to compile the akka project:
First, use SBT. This is the method officially recommended by akka. You can use SBT to generate the javassse project and import it to eclipse for running. However, my compilation is done through the SBT command line. If you have a good method, please correct it.
SBT Installation Method reference: http://www.scala-sbt.org/download.html
How to Write a Scala file, build and run with SBT.
Http://www.scala-sbt.org/0.13/tutorial/Hello.html
Akka: http://akka.io/
Scala for Eclipse IDE Bundle: http://scala-ide.org/(this integrated development tool is also recommended, containing the akka actor and Scala library needed for compilation)
Second, Maven is used, which is used by akka essentials. I personally tried to compile the old projects of akka 2.0.5 and 2.1.2. I have verified most examples in this book. Therefore, if you want to compile the debugging program from start to end, try the maven Elipse plug-in.
Install MVNHttp://maven.apache.org/download.cgiThen follow the README installation steps.
Akka-essenessensource code https://github.com/write2munish/Akka-Essentials
Refer:
Maven practice (3) Build a Maven project in eclipse
Http://tangyanbo.iteye.com/blog/1503782