Cool. Looking forward to see what you come up with.
I've been thinking of impl an Actor with just one message type and one return type.
trait TypedActor[M,R] { ... }
trait Actor extends TypedActor[Any,Any]
--
Jonas Bonér
http://jayway.com
http://akkasource.com
twitter: jboner
On 25 May 2010 18:48, "Oleg Galako" <ojo...@gmail.com> wrote:
I've found some interesting opinions in a not so long ago thread:
http://groups.google.com/group/akka-user/browse_thread/thread/efeef25c1fd348ba/63d586ba996897e8?#63d586ba996897e8
I'll now try to implement my idea and if it looks/works ok, i'll post
the source here. I think it could be just a really useful tool in the
toolbox.
--
You received this message because you are subscribed to the Google Groups "Akka User List" grou...
I've found some interesting opinions in a not so long ago thread:
http://groups.google.com/group/akka-user/browse_thread/thread/efeef25c1fd348ba/63d586ba996897e8?#63d586ba996897e8
I'll now try to implement my idea and if it looks/works ok, i'll post
the source here. I think it could be just a really useful tool in the
toolbox.
--
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.
But it would be preferable to tie the type of the proxied object to
ActorRef. So we could replace ProxyForActor(classOf[SampleClass], a)
with something like just a.proxy
The main point is that you can use actors by calling type safe methods
you define on a class. Annotations could help here too for marking
methods that will be proxied (i didnt include annotations in my code
to make it shorter to express the main idea).
> > akka-user+...@googlegroups.com<akka-user%2Bunsubscribe@googlegroups .com>
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
I didn't even look at it because i thought its some kind of a limited
version for Java.
I think the answers to these questions could be useful to all who read
the Actor/ActiveObject documentation and should be added there.
That is a valid question.
I have never thought about them being a type-safe alt. Which they of
course are. I think we have to market them better.
I like the POJO-based approach to Actors a lot. But since Akka was
born in the Scala community is is just naturally be more focus on the
Scala Erlang-style way of doing actors.
The main goal for the next release is to make the POJO style (and Java
integration) as a good the Erlang-style Actors can every regard.
Thanks for your ideas and thoughts.
> To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
So is your feedback. Very valuable. Keep it coming :-)