Hi,
Newbie question:
Let’s say you have a Entity such as below that accepts the classes in the constructor, and you wire those classes in your ApplicationLoader.
class CustomerEntity(heavyObjectWithNoState:HeavyObject) extends PersistentEntity
Does it mean that the new instance of heavyObjectWithNoState: will get created everytime the new instance of CustomerEntity actor gets created? Or will all Customer actors be referencing to the singleton HeavyObject instance? (the later is of course much preferred as it will keep the actor less fat).
Thanks,