101 reputation
1
bio website noobjuggler.blogspot.com
location India
age
visits member for 2 years, 7 months
seen Aug 13 at 7:36

Mar
26
comment License key solution in web application, what is the best approach?
I guess even with most compiled languages like java a jar can be easily de compiled, updated , recompiled and then included into the war , so how does one handle that ?
Feb
21
comment Do immutable objects and DDD go together?
@andho currency would still be owned by a particular entity for example product has a price (Currency). I am trying to find characteristics which would tell me that a concept should be modeled as Value Object. For example my current understanding is as follows. If in our domain a car engine can be swapped out and put in another car then it has existence of its own (Aggregation) and hence cannot be a Value Object ... However in our domain if the engine cannot be swapped out and hence makes no sense without a car then it can be modeled as a Value Object (Composition). Does this make any sense ?
Feb
21
comment Do immutable objects and DDD go together?
"All in all having immutable domain objects (instead of merely their components) seems a bit of a mismatch with persistence." In you're opinion where would we need to have value objects which should not be modeled as components (Hibernate terminology) ? --- Sorry I had mistyped my last comment and hence deleted it.
Feb
20
comment Do immutable objects and DDD go together?
Could we say that Value Objects would invariably be wholly owned composition (UML) by the parent ? Additionally a Value Object would make no sense without its Parent and cannot be shared between Parents ?
Feb
20
comment DDD and Value Objects. Are mutable Value Objects a good candidate for Non Aggr. Root Entity?
Could we say that Value Objects would invariably be wholly owned composition (UML) by the parent ? Additionally a Value Object would make no sense without its Parent and cannot be shared between Parents ?
Nov
17
awarded  Supporter
Oct
25
comment Do immutable objects and DDD go together?
@andho " this is just a way to make an 'immutable value object', not really immutable in the database." this really made my day thanks
Oct
17
comment Do immutable objects and DDD go together?
In the above case if we ever needed to change the city attribute of the address class for a given customer how would we handle it ?, Further assume customer could have multiple addresses so it a a one to many relation ship between customer and addresses