I'm

in the process of transforming the architecture of my system, which at the 
level i am interested in, is not multi-threaded for now.

Let say today i have a component A that communicate with a component B via 
a command pattern to isolate one another from each other. So as we all know 
only the command actually bridge them. The Good thing is only the command 
implementation has to change if one of the component implementation has to 
change. In my situation component B will evolve over time.

I was wondering how to replicate that with Akka Actor. Indeed i believe 
with actors, indeed command do not have the right to manipulate the content 
of an actor or whatever the actor encapsulate.

So i would like to know how should this pattern be change to meet actor 
requirement.

In my particular case, my command contains data from A that based on the 
nature of the command trigger the creation of Data in B following its data 
model.

Just to give a clue: B is a component that wrap a semantic database. In A 
we have some java object. It is not their representation as is that has to 
be entered in B. Think of it like you have a language (we represent with 
object the sentences that you can form with it) and its semantic that we 
represent with triples. A is a component that observe message (in that 
language) and trigger the command that create the appropriate semantic in 
B. B does some reasoning with this semantic and monitor it over time.

(This is a gross simplification but it is just to give a context)

PS:

I'm new in the Actor field.

-- 
>>>>>>>>>>      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.

Reply via email to