So copy could work for immutability but it limits my ability to help the
client (which is normally me and I am definitely stupid enough to not think
about how I designed the system) but it doesn't help with how to add
mutability of data objects transferred between services. I do think I may
be
David D.,
No! You just need to copy the DTO. Let the client do whatever it wants with the
DTO; it won’t mess up the system. If the client is “stupid” enough to change
the value of the DTO, then that’s the client’s problem.
There is no more worry about immutability / value object. There are
So for the article above what I am struggling with is how to do
immutability/mutability with the DTO spec. With java beans there is a get
and set method for each attribute. If DTO's had this the way I would do it
is as follows. I would have an attribute for mutability that is either
true or
For me helps by having the schema that allows for something some other
service uses to do the automatic merging using the tools available in
dosgi, but I understand that nothing can be really automatic because it can
require merges and there is garbage collection that will need to happen on
the
Hi Davids,
What is it exactly from that article that you think would make sense in the
context of OSGi? The automatic merging of concurrent data updates?
Thanks,
David
On 18 August 2016 at 07:50, David Leangen wrote:
>
> That is interesting, indeed! I only quickly skimmed
That is interesting, indeed! I only quickly skimmed through the article, but it
does indeed appear to be a potentially interesting property for dosgi.
If I believe what the authors write in the abstract, it provides a relatively
simple and deterministic method that could be implemented in
read an interesting article this morning http://arxiv.org/abs/1608.03960
Something like this would be an interesting property to have for dosgi
which is one of the use cases for DTO's
On Wed, Aug 17, 2016 at 6:47 AM, David Leangen (JIRA)
wrote:
>
> [
[
https://issues.apache.org/jira/browse/FELIX-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15424288#comment-15424288
]
David Leangen commented on FELIX-5325:
--
Awesome. Thank you! :-)
> Patch for embedded DTO (in DTO)
>
[
https://issues.apache.org/jira/browse/FELIX-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15422452#comment-15422452
]
David Bosschaert commented on FELIX-5325:
-
Hi [~dleangen], I think your patch is missing the
[
https://issues.apache.org/jira/browse/FELIX-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15421859#comment-15421859
]
David Leangen commented on FELIX-5325:
--
Sent offline. Cheers.
> Patch for embedded DTO (in DTO)
>
[
https://issues.apache.org/jira/browse/FELIX-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15421017#comment-15421017
]
David Bosschaert commented on FELIX-5325:
-
Hi [~dleangen], thanks for the patch. Strange that you
[
https://issues.apache.org/jira/browse/FELIX-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15420937#comment-15420937
]
David Leangen commented on FELIX-5325:
--
I cannot attach files, so I will paste it in a comment.
>
[
https://issues.apache.org/jira/browse/FELIX-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15420938#comment-15420938
]
David Leangen commented on FELIX-5325:
--
Index:
13 matches
Mail list logo