However, it seems that Scala does not have a built in support for alternative serialisation (e.g., Google Protocol Buffers)
So I've decide to try Akka:
Akka supports using Google Protocol Buffers to serialize your objects. Protobuf is a very efficient network serialization protocol which is also used internally by Akka. The remote actors understand Protobuf messages so if you just send them as they are they will be correctly serialized and unserialized. - from Akka websiteSounded good to me, so I've tried to compile some Akka sample code with Netbeans 6.9 IDE (did I mention that I also love Netbeans? well I do). Akka website gives you instructions how to set-up your developing environment. Basically you have several options:
- MVN option (maybe next post)
- Simple Build Tool (SBT)
- Add Akka jars to classpath
Personally, I think SBT is awesome, really do but it doesn't help me when I want to work with Netbeans IDE, not by much anyway (in my opinion).
Anyway, so back to the tip part: If you want to include Akka jars to your Netbeans project you need to follow the list of Akka's core jar files:
These are used in the core of Akka, so you need these.
- configgy-X.jar
- netty-X.jar
- protobuf-java-X.jar
- multiverse-alpha-X.jar
- jsr166x-1.0.jar
- geronimo-jta_1.1_spec-1.1.1.jar
- jgroups-2.9.0.GA.jar
This didn't work for me until I've also included akka-jta-X.jar and akka-core-X.jar.
Hope it helps and saves you some valuable coding time :)
If you had better luck or other experiences compiling Akka based project on Netbeans 6.9, please do comment.
No comments:
Post a Comment