[
https://issues.apache.org/jira/browse/ISIS-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13943640#comment-13943640
]
David Tildesley commented on ISIS-755:
--------------------------------------
Potential solution:
In order to reduce the effort of making the framework support these
requirements I think it would be acceptable to make it a requirement that the
domain object must still be a locally persisted domain object.
The implication of this approach is that you can't build a "no datastore"
application using ISIS - that may not be so bad considering all of the out of
the box Data Nucleus data store plugins that is offered.
Taking this approach means that we can use the existing lifecycle events and
services and provide hooks so that the developer can use a domain service (or
some DI library of choice or hand craft a service locator pattern) to inject
data into the object on load and to extract data out of the object on "save".
Another advantage of this approach is that you get an "off-line" local cache
for free. However we would want the framework to alert the user to the
"off-line" status (could be easily done using combination of status flag and
CSS style sheet class.)
> Allow external system data to be integrated and managed with an ISIS domain
> object
> -----------------------------------------------------------------------------------
>
> Key: ISIS-755
> URL: https://issues.apache.org/jira/browse/ISIS-755
> Project: Isis
> Issue Type: Improvement
> Components: Core
> Affects Versions: core-1.4.0
> Reporter: David Tildesley
> Assignee: Dan Haywood
> Fix For: core-1.4.2
>
>
> Problem statement: The framework currently offers no lifecycle support for
> domain objects that get their data from and to external systems.
> Requirements:
> 1. Manage domain object state lifecycle consistent with a locally persisted
> domain object.
> 2. Treat the domain object as a peer with all other domain objects for viewer
> generation and integration.
> 3. Integrate with standard OTB domain services such as audit service.
--
This message was sent by Atlassian JIRA
(v6.2#6252)