[ 
https://issues.apache.org/jira/browse/ISIS-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940851#comment-13940851
 ] 

David Tildesley commented on ISIS-743:
--------------------------------------

Some more thoughts/assumptions on transient domain objects:

1. oid - annotate an attribute or use attribute naming pattern
2. Restful remoting mean client maintains required state - client doesn't care 
whether domain object is transient or not.
3. Restful remoting means the server trashes the domain object instance after 
the response. However domain behaviour is not transferred and everytime a 
behaviour is invoked on a domain object graph, the domain graph has to 
re-instantiated  at the server - big performance hit unless developer uses a 
cache (ehcache or similar). 

Am I wide of the mark with any of the above?

> Remove the concept of transient objects and of @NotPersistable; instead we 
> have view models.
> --------------------------------------------------------------------------------------------
>
>                 Key: ISIS-743
>                 URL: https://issues.apache.org/jira/browse/ISIS-743
>             Project: Isis
>          Issue Type: Wish
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>             Fix For: core-2.0.0
>
>         Attachments: Design-1.PNG, Design-2.PNG
>
>
> For discussion; but think that view models supercede our earlier ideas of 
> transient objects etc.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to