Hi Vladimir,

I would go with your first idea; this sort of "side-loading" approach
should work fine.

If you end up with anything that is reusable, please consider creating a
github repo so that we can (at minimum) fork it into isisaddons [1]

Cheers
Dan

[1] http://www.isisaddons.org/


On 1 October 2014 08:44, Vladimir Nišević <vnise...@gmail.com> wrote:

> Hi guys, I have a requirement where parts of my domain objects come from
> different sources.
>
> a. reational database
> b. elasticsearch (accessible thru REST interface)
>
> What would be a feasible approach?
>
> My first idea was to introduce a view models and instantiate them manually
> and fill them from RDB and Elasticsearch sources. A kind of anticorruption
> layer?
>
> Or should I implement additional DomainObjectContainer interface (
> https://isis.apache.org/reference/DomainObjectContainer.html ) for
> elasticsearch?
>
> Can I use multiple domain object container implementation at the same time?
>
> Regs,Vladimir
>

Reply via email to