[commons-vfs] JDBM provider

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[commons-vfs] JDBM provider

Jason Dillon
Hi,

Does anyone of a JDBM-based (http://jdbm.sourceforge.net/) VFS provider?

I was looking for a way to provide a portable filesystem that does  
not incur any filename length problems, as is they case w/windows.  
Seems like it might be possible to implement such a FS backed up by  
JDBM (or BDB-JE, but since its license is evil, JDBM will have to do).

If not... any pointers on how to implement such a provider?

--jason

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [commons-vfs] JDBM provider

Mario Ivankovits
Hi Jason!
> Does anyone of a JDBM-based (http://jdbm.sourceforge.net/) VFS provider?
I dont know one. Why wouldnt you start off with a jdbc based provider?
If you put the queries in its own file we can adjust them per database.

> If not... any pointers on how to implement such a provider?
I guess you have to maintain your own datastructure (at least with jdbm)
so maybe the RamFileProvider would be a good strating point. I havent
thought about the very last detail, but maybe the jdbc based solution
might be easier to implement as then you do not really have to have a
internal datastructure.
Then you might be starting with e.g. the SmbFileProvider.

Ciao,
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]