Thank you all very much for your advice. I will take a look at JackRabitt and Alfresco.

Kaspar

On 16.02.2009, at 01:45, Fabrizio Giudici wrote:

Kaspar Fischer wrote:
User's of my application will upload, edit, and delete files. For this, I'd like to have a simple "file repository" with the following features:

- Files are stored on the file system.
- Files are distributed over several folders (to avoid a single folder with 10,000 files, say).
- Support for transactions

Does anybody know of a simple Java library that satisfies these requirements?

For example: a Hibernate database with a relation "Files" holding tuples (DocId, FilePath), and a service with:

- id store(stream): creates from the stream a new file on the file system and inserts a new tuple into the relation, returns id - stream edit(id): returns a stream to a temporary copy of the file with the given id; updates the corresponding tuple to point to the temp file
- void remove(id): removes the corresponding tuple form the relation

... and a background job which deletes dangling files.
I suggest you something implemented on the top of JackRabbit (Java Content Repository). You might have a look at Brix, which is a CMS based on Wicket and JackRabbit.

--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
fabrizio.giud...@tidalwave.it - mobile: +39 348.150.6941


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to