Quoting Ronnie Nessa <[email protected]>:
> In my application I have a re-indexer service that under certain
> conditions reindexes the entire database when the application is
> started ( I think I borrowed some of the code from streamflow). Also I
> have a service that when activated conditionally bootstraps some
> initial data. My problem is that it is important that the re-indexer
> service runs before the bootstrap service, but as I see it they are
> not really dependent on each other, so making them dependent would be
> weird I think. Maybe I'm attacking this from the wrong angle though.
> Have any of you solved a similar problem in a different way?

I do about the same two things in my app but "initial data" insertion happens 
only if it has not been inserted yet. I made it independent by querying for 
something that say "initial data inserted". YMMV.





_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to