jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serge Huber <shub...@jahia.com>
Subject Re: Using Jackrabbit with MySQL / Hibernate
Date Tue, 28 Jun 2005 09:05:19 GMT

Hi Digby,

You have to clearly seperate two things :

1) the storage format of Jackrabbit
2) using JSR 170 to access any type of content

In the first case, I think there is already a lot of choice, ranging 
from object serialization into files, to CQFS filesystem-within-a-file, 
to XML storage, to JDBC storage and ORM mapping. Some of these are more 
mature than others, and some are a little experimental. The nice thing 
is that the storage doesn't really matter, because of 2)

The second part is the most important, especially for existing data 
system. Granted it will require writing a layer to the existing data 
content, but you can bet that there will be some specialized companies 
that will offer connectors to all types of backends (btw I'm guessing 
this is what Day's is selling, but I could be wrong). If you're 
implementing level 1, you can do so quite straightforwardly and migrate 
data into Jackrabbit for example :)

  Serge Huber.

Digby wrote:

> Okay - I've just read the wiki about ORM and it's clearly not as 
> straightforward as I was hoping. I've only just started looking at the 
> Jackrabbit project, so I'm not up to speed with all the issues, but 
> coming from an rdbms background, I would have thought most users would 
> want to be able to plug Jackrabbit into an existing schema, at least 
> for type 1 repositories. Also for type 2 repositories, as someone else 
> mentioned in another msg, proprietary flat files might scare a lot of 
> clients because they can't see where their data is from a traditional 
> perspective.
> I rather like the idea of having the database set up in a similar way 
> to how the JSR-170 pec suggests (with one table per property type) for 
> type 2 repositories. It's more "normal" for systems people and is also 
> available to systems outside JSR-170 (non-Java - MS ADO for example).
> Just my 2 pennies worth!
> /Digby
> Digby wrote:
>> Hi,
>> I've managed to download and compile the source for both teh main 
>> Jackrabbit project and (with a few tweaks) the ORM-persistence 
>> contrib project, but I'm not sure how to get my application working 
>> with the orm stuff. The readme.txt file suggests changing a couple of 
>> files depending on which db you want to use, but not how to change 
>> Jackrabbit from using the filesystem to using orm.
>> Has anyone got any pointers?
>> Otherwise I'm really excited about Jackrabbit and JSR-170. 
>> Congratulations to all involved.
>> TIA
>> /Digby

View raw message