/Jonas
> --
> You received this message because you are subscribed to the Google Groups "Akka User List" group.
> To post to this group, send email to akka...@googlegroups.com.
> To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
>
>
--
Jonas Bonér
work: http://jayway.com
code: http://akkasource.com
blog: http://jonasboner.com
twitter: @jboner
This is an interesting pattern.
I'm wondering what advantage it gives over the type-safe POJO style
Actors in Akka?
class POJO {
def foo(bar: Bar): Baz = {
...// use Bar directly, return Baz
}
}
val pojo = ActiveObject.newInstance(classOf[POJO]) // pojo is now an actor
val baz: Baz = pojo.foo(new Bar) // invoking foo is sending a message async
/Jonas
Thanks for looking into it.
I think your analysis is accurate.
In short, ActiveObject requires less code to write and understand while Profiles is much more flexible.
I think both has its place. We write up about this design pattern on the wiki. Thanks.
--
Jonas Bonér
http://jayway.com
http://akkasource.com
twitter: jboner
Cheers,
Oliver
--
You received this message because you are subscribed to the Google Groups "Ak...