AW: Load Data from Files at Startup

2016-01-12 Thread Rade, Joerg / Kuehne + Nagel / Ham GI-DP
Hi Dan, >Um, there isn't. myapp-fixture depends on myapp-dom, but the opposite isn't >true (it can't >be, otherwise Maven wouldn't build the project because there would be a cyclic >dependency >between modules). You are right - I got mixed up with myapp-app and myapp-dom. >Yes, or maybe using

Re: Load Data from Files at Startup

2016-01-10 Thread Dan Haywood
icht- > Von: Dan Haywood [mailto:d...@haywood-associates.co.uk] > Gesendet: Freitag, 18. Dezember 2015 10:35 > An: users > Betreff: Re: Load Data from Files at Startup > > 2015-12-09 12:50 GMT+00:00 Rade, Joerg / Kuehne + Nagel / Ham GI-PS < > joerg.r...@kuehne-nagel.com>: >

AW: Load Data from Files at Startup

2016-01-05 Thread Rade, Joerg / Kuehne + Nagel / Ham GI-PS
that reads in files/resources as they become available? Integrating with Apache Camel? Best regards Jörg -Ursprüngliche Nachricht- Von: Dan Haywood [mailto:d...@haywood-associates.co.uk] Gesendet: Freitag, 18. Dezember 2015 10:35 An: users Betreff: Re: Load Data from Files at Startup

Re: Load Data from Files at Startup

2015-12-18 Thread Dan Haywood
2015-12-09 12:50 GMT+00:00 Rade, Joerg / Kuehne + Nagel / Ham GI-PS < joerg.r...@kuehne-nagel.com>: > Hi, > > my fixtures have grown into a couple of files the application needs to > read in when it starts the first time (and possibly later on when the files > content change). > > What is the

Re: Load Data from Files at Startup

2015-12-18 Thread Jeroen van der Wal
Hi Joerg, You can also run a fixture when a service is initialised. We do that when loading seed data in Estatio:

Re: Load Data from Files at Startup

2015-12-18 Thread Dan Haywood
If you go that route, also make sure that any subscribers have a lower menuOrder than any seed services, using @DomainServiceLayout#menuOrder. The reason for this is that, when a seed service creates objects, it will publish events onto the event bus. If a subscriber is then subsequently

Load Data from Files at Startup

2015-12-09 Thread Rade, Joerg / Kuehne + Nagel / Ham GI-PS
Hi, my fixtures have grown into a couple of files the application needs to read in when it starts the first time (and possibly later on when the files content change). What is the right way to do this? Hook up into the webapp start? Use events? Thanks in advance Jörg Kühne + Nagel (AG &