jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gonzalo Ruiz <gr...@germinus.com>
Subject Re: Multiple workspaces
Date Tue, 04 Apr 2006 16:27:00 GMT
Hello again Helio

I think two options are possible.

1) If you have only a single workspace in your repository, you can 
access this through session object (default workspace). A workspace is 
only a tree with nodes and properties.

If you need diferent data models for each application, you can make a 
subtree in the workspace per each applicattion, or use the same model.

But there is a problem. If you only use a single workspace, you only can 
use a single Persister tied with this workspace.

2) If you use multiple workspaces, you could have separate trees for 
each application, and you could use several Persisters for each 
workspaces (DatabasePersisters, FileSystemPersisters, etc)

To access these workspaces, you have to write a workspace.xml, 
configuration file per each workspace,  and open a new session with the 
desired workspace to manage the nodes and properties.

I hope, we could help each other.


Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message