Good pointer! I will try that first…

 

Von: rules-dev-bounces@lists.jboss.org [mailto:rules-dev-bounces@lists.jboss.org] Im Auftrag von Michael Neale
Gesendet: Montag, 8. März 2010 23:02
An: Rules Dev List
Betreff: Re: [rules-dev] Accessing JCR repository directly

 

true - that work work as-is right now. 

 

Of course the problem remains the meaning of the JCR nodes are specific to guvnor, so you would need to know how it stores things, but yeah, that could work. 

On Mon, Mar 8, 2010 at 11:19 PM, Jaroslaw Kijanowski <kijanowski@gmail.com> wrote:

Hi,
 if you could use a 'real' database (instead of Derby), how about this?
Configure Jackrabbit to run in a clustered environment in Guvnor and
your standalone app. This is done in the repository.xml file [1]. That
would allow you to access the JCR repo from different apps at the same
time (no locks).


[1] http://wiki.apache.org/jackrabbit/Clustering

Cheers,
 Jarek


Bernd Rücker wrote:
> Hey guys.
>
>
>
> I thought I better ask that question on the dev list, correct me if that
> was a bad choice ;-)
>
>
>
> I want to programmatically access the JCR repository from another
> application (basically to author rules). I understood the
> RulesRepository (which is a nice interface by the way).  I tried to
> understand how the JCR Session is created and can be accessed. As far as
> I found it, it seems that a Seam Bean just starts everything
> (RulesRepositoryManager).  Now the question is: How can I access this
> from another application? Because the workspace is locked, I cannot
> create another Session from there.
>
>
>
> Wouldn’t it be nice to bind the stuff in JNDI correctly or something
> like that? Or if I do that, can I inject it into the Seam application?
> Or maybe I can access the seam bean somehow from external?
>
>
>
> I think it would be the easiest and best to access the JCR repos instead
> of using WebDav or whatever if I am in another EJB3 application…
>
>
>
> Thanks a lot for any hint
>
> Cheers
>
> Bernd
>
> --
>
> Blog: _www.bpm-guide.de <http://www.bpm-guide.de>_
>
> ---------------------------------------------
>
> camunda services GmbH - The Business Process Company
>
> Zossener Straße 55-58 - 10961 Berlin
>
> www.camunda.com <http://www.camunda.com> - info@camunda.com
> <mailto:info@camunda.com>
>
> ---------------------------------------------
>
> Bernd Rücker
>
> Geschäftsführer
>
> Telefon +49 30 664040 901
>
> Mobil +49 171 1473461
>
> bernd.ruecker@camunda.com <mailto:bernd.ruecker@camunda.com>
>
> ---------------------------------------------
>
> Amtsgericht Charlottenburg: HRB 113230 B
>
> Geschäftsführer: Jakob Freund, Bernd Rücker
>
> ---------------------------------------------
>
> BPMN-Buch: http://www.hanser.de/buch.asp?isbn=978-3-446-41768-7
>
> EJB-3-Buch: http://www.ejbbuch.de/
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-dev mailing list
> rules-dev@lists.jboss.org

> https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev




--
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com