List Info

Thread: Queries related to jackrabbit




Queries related to jackrabbit
country flaguser name
India
2008-06-04 23:09:48
Hi All,

            

 

I have few questions related to Jackrabbit.

1.	How many "workspaces" can we create in a
repository? Can the
workspace be created dynamically? Currently, we are using
"Default"
workspace, right?
2.	If multiple workspaces are created, how does it affect
the
performance of the system?
3.	Does individual workspace gets indexed separately? If it
is,
then if one workspace gets corrupted, then we can restore
just that
workspace instead of the whole repository.
4.	Does JBoss allow multiple Jackrabbit repositories?

 

Thanks,

Anilk.

Re: Queries related to jackrabbit
user name
2008-06-05 03:12:59
hi anil

On Thu, Jun 5, 2008 at 6:09 AM, Anil K. Kotha <Anilk2xprime.com> wrote:
> Hi All,
>
>
>
>
>
> I have few questions related to Jackrabbit.
>
> 1.      How many "workspaces" can we create
in a repository? Can the
> workspace be created dynamically? Currently, we are
using "Default"
> workspace, right?

yes, there's a default workspace which is used when you
don't specify a a workspace on login, see e.g.
http://www.day.com/maven/jsr170/
javadocs/jcr-1.0/javax/jcr/Repository.html#login(javax.j
cr.Credentials,%20java.lang.String)

you can have as many worksapces as you want. workspace
creation
is not covered by JCR 1.0 but will be in JCR 2.0. for the
tome being
you can use the jackrabbit api, see
http://jackrabbit.apache.
org/api/1.3/org/apache/jackrabbit/api/JackrabbitWorkspace.ht
ml

> 2.      If multiple workspaces are created, how does it
affect the
> performance of the system?

there shouldn't be any notable performance impact.

> 3.      Does individual workspace gets indexed
separately?

yes

> If it is,
> then if one workspace gets corrupted, then we can
restore just that
> workspace instead of the whole repository.

haven't tried it, but yes, that could work.

> 4.      Does JBoss allow multiple Jackrabbit
repositories?

sure, that only depends on your deployment/configuration.

cheers
stefan

>
>
>
> Thanks,
>
> Anilk.
>
>

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )