You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@river.apache.org by Peter Firmstone <ji...@zeus.net.au> on 2014/07/03 13:42:45 UTC
Re: SerialReflectionFactory - got a better name?
How about Portable?
On 1/07/2014 12:55 AM, Gregg Wonderly wrote:
> So, maybe transportable or transported or forwarded…
>
> Gregg
>
> On Jun 29, 2014, at 4:41 AM, Peter Firmstone<ji...@zeus.net.au> wrote:
>
>> Hi Gregg,
>>
>> Thinking out loud:
>>
>> Transferable, I think it's close, it works for TransferableObjectFactory, it's created on demand to transfer a non serializable object via a serialization stream and it transfers a factory from one jvm to another, in order to recrate the original object in another jvm.
>>
>> As for Distributed, transfer would imply the original object is moved from one place to another (deleted and recreated), while that could occur, it's also possible for the originating object to be duplicated as well, so it works for what's currently called SerialReflectionFactory, but Transferable wouldn't be a candidate for the Distributed interface.
>>
>> If the original object has state, then it would be a snapshot of the original object at some point in time, hence memento.
>>
>> It could be called TransferableMemento or SerializableMemento, it's created within a ObjectOutputStream and replaced in an ObjectInputStream.
>>
>> Then that leaves Distributed, perhaps Distributable is better? Other words are Propagatable, Disseminatable. Latin: disseminare "scattering seeds"
>>
>> interface Distributable {
>> SerializableMemento distribute();
>> }
>>
>> Dissemino - dis (in all directions) + semino (I plant, I sow).
>>
>> Cheers,
>>
>> Peter.
>>
>> On 29/06/2014 1:32 PM, Gregg Wonderly wrote:
>>> TransferableObjectFactory?
>>>
>>> Gregg
>>>
>>> Sent from my iPhone
>>>
>>>> On Jun 23, 2014, at 7:14 AM, Stefano Mariani<s....@unibo.it> wrote:
>>>>
>>>>
>>>> Il giorno 23/giu/2014, alle ore 13:24, Peter Firmstone<ji...@zeus.net.au>> ha scritto:
>>>>
>>>> recreate themselves remotely
>>>>
>>>> Why not
>>>>
>>>> * RemoteRecreationFactory
>>>> * DistributedCloningFactory
>>>> * or a combination of the above?
>>>>
>>>> This way the name is after the goal of the class, not its implementation...
>>>>
>>>> --------------------------------------------------------------------------------------------------------------------
>>>> Stefano Mariani
>>>> PhD student @ DISI - Alma Mater Studiorum, Bologna
>>>>> s.mariani@unibo.it<ma...@unibo.it>
>>>>> stefanomariani.apice.unibo.it<http://apice.unibo.it/xwiki/bin/view/StefanoMariani/>
>>>> --------------------------------------------------------------------------------------------------------------------
>>>>