If you already have the code, why not wrap it inside a serlvet's init method?
Also, you might want to look at Sling, which supports the automatic loading CND files from OSGi bundles. Justin On Mar 21, 2010, at 3:59 PM, Norman Maurer <[email protected]> wrote: > Thx > for the response... Sadly this makes it impossible to use jcr-rmi > for me ATM > > Bye > Norman > > 2010/3/21, Jukka Zitting <[email protected]>: >> Hi, >> >> On Sun, Mar 21, 2010 at 7:53 PM, Norman Maurer <[email protected]> >> wrote: >>> is it somehow possible to include a CND file via xml configuration ? >>> At the moment I do it via CNDImporter but I would like to "load" >>> it on >>> startup without calling the code.. >> >> No, that's not possible. Note that you only need to load the node >> types once, not at every startup of the repository. >> >> BR, >> >> Jukka Zitting >>
