jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Edelson <justinedel...@gmail.com>
Subject Re: Register CND file via configuration file
Date Mon, 22 Mar 2010 06:04:28 GMT
Ah, so then just implement InitializingBean or use init-method.

Justin

On Mar 21, 2010, at 10:47 PM, Norman Maurer <norman.maurer@googlemail.com
 > wrote:

> Hi Justin,
>
> JAMES now uses Spring,so things are a bit easier ;)
>
> Bye,
> Norman
>
> 2010/3/22 Justin Edelson <justinedelson@gmail.com>:
>> I can try... Does James still use Avalon? Been about 8 years since I
>> used it.
>>
>> Basically, you just need a component of some sort which loads on
>> startup. I just threw out a servlet, but it could be a pojo which is
>> initalized by whatever IOC container is being used (assuming
>> there's a
>> container of some sort).
>>
>> In terms of jcr-rmi, I assume you're aware of the performance
>> caveats.
>> Have you looked at davex?
>>
>> Justin
>>
>>
>> On Mar 21, 2010, at 9:46 PM, Norman Maurer <norman@apache.org> wrote:
>>
>>> Hi Justin
>>>
>>> could you give me some more details about the servlet stuff? I
>>> want to
>>> use JCR inside JAMES to store Emails, so there is no Servlet
>>> Container...
>>>
>>> At the moment we ship with an embed Jackrabbit instance but my hope
>>> was to be able to allow the easy usage of an external Jcr Repository
>>> via jcr-rmi.
>>>
>>> I will readup on sling
>>>
>>> bye
>>> Norman
>>>
>>> 2010/3/21, Justin Edelson <justinedelson@gmail.com>:
>>>> 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 <norman@apache.org>
>>>> wrote:
>>>>
>>>>> Thx
>>>>> for the response... Sadly this makes it impossible to use jcr-rmi
>>>>> for me ATM
>>>>>
>>>>> Bye
>>>>> Norman
>>>>>
>>>>> 2010/3/21, Jukka Zitting <jukka.zitting@gmail.com>:
>>>>>> Hi,
>>>>>>
>>>>>> On Sun, Mar 21, 2010 at 7:53 PM, Norman Maurer
>>>>>> <norman@apache.org>
>>>>>> 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
>>>>>>
>>>>
>>

Mime
View raw message