I am very new to Akka and still just playing around with it. I wonder if it is possible to use Akka to do dynamic class loading. The scenario is a server / client setup where the server is never rebooted.
At compile time the server knows about a trait which I can pattern match against. This trait is implemented in a test case class which the server knows. I start the server and afterwards the client. When I send the test case class to an actor on the server everything works ok. But if I add another case class implementing the same trait and send that to the server (which don't have the class file for the new case class), then I get "java.lang.ClassNotFoundException". This is not a big surprise - but I wonder if Akka makes it possible to send new class files to the server? clientcode: http://pastebin.com/avAdBBwg servercode with simple actor: http://pastebin.com/G0sxW31K Hopefully this question makes sense. Happy easter! -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.